Re: [Rd] RFC install.packages() changes

From: Prof Brian Ripley <>
Date: Mon 08 Nov 2004 - 07:02:14 EST

On Sun, 7 Nov 2004, Kjetil Brinchmann Halvorsen wrote:

> Prof Brian Ripley wrote:
> >install/update.packages() in R-devel has been enhanced in a few ways,

> >notably to handle multiple repositories, and to allow packages to be

> >reinstalled under the current version of R.
> >

> >1) Currently they will ask if you want to delete the downloaded files (if

> >any) *provided* destdir was not specified. In that case it uses a

> >subdirectory of the per-session temporary directory, so the files will be

> >deleted at the end of the R session anyway.
> >

> >We had a request to make the questioning optional. I propose to remove it

>altogether, and either
> >

> >a) delete the downloaded files at the end of install.packages or

> >b) leave them in the per-session directory to be deleted at the end of the

> >session.
> >

> >that is to force answer 'y' or 'n' respectively. Does anyone see any
> >problems with a)?
> >
> >
> >

> I would prefer b), as I am downloading from the Rgui menu and then moves

> downloaded packages

> to a c:\download... area which I use to burn CD-roms I distribute to

> many people. If a) is choosen I guess

> I could learn to use it from the command line, though. What is the

> problem with b)?

Potentially leaving 1Gb or so of files in a temporary directory. So probably no big deal.


ame="1295qlink2">Brian D. Ripley,                  ripley@stats6;--nospam-->
Professor of Applied Statistics,  >
">a> name="1295qlink2"></a><a name="1295qlink2">ame="1295qlink2">Univname="1295qlink2">ersi name="1295qlink2">ty o<e="1295qlink2">a na<a name="1295qlink2">me="ame="1295qlink2">1295name="1295qlink2">qlin name="1295qlink2">k2"><a name="1295qlink2">f Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Mon Nov 08 07:13:04 2004

This archive was generated by hypermail 2.1.8 : Mon 08 Nov 2004 - 08:09:13 EST