From ripley at stats.ox.ac.uk  Wed Jan  5 07:30:37 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed Jan  5 07:30:46 2005
Subject: [Rd] Option for "Delete downloaded files (y/N)?" in
	install.packages()
In-Reply-To: <7FFEE688B57D7346BC6241C55900E7300FD057@pollux.bfro.uni-lj.si>
References: <7FFEE688B57D7346BC6241C55900E7300FD057@pollux.bfro.uni-lj.si>
Message-ID: <Pine.LNX.4.61.0501050626320.2502@gannet.stats>

On Wed, 5 Jan 2005, Gorjanc Gregor wrote:

> Hello!
>
> I have a wish/proposal.
>
> Is it possible to include some option in install.packages() for
> Delete downloaded files (y/N)? at the end of that process. It can
> be quite anoying if you must install several packages and wait
> meanwhile to type y/n for each package separately.

It does happen at the end of the process: you are using one call for the 
several packages?  Something like install.packages(c("pkg1, "pkg2", 
"pkg3"))?

In R-devel you are not asked at all, and even now you will not be 
asked if you specify destdir.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Option for "Delete downloaded files (y/N)?" in install.packages()
Prof Brian Ripley