[R] Selective package installation
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon May 18 10:33:37 CEST 2015
On 18/05/2015 08:14, Partha Sinha wrote:
> I am using Win 7, 32 bit and R 3.2.0
> I want to install few packages via script.
> The script should first check if the package is already installed (I
> dont want update).If the package is already there , then it would go
> to the next package in my list.
> How can I do this ?
Take a look at the code of the built-in function new.packages(): what
you ask for is a variant on what it does.
Brian D. Ripley, ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK
More information about the R-help