[R] Installation of all packages under Unix

Bernardo Rangel Tura tura at centroin.com.br
Thu Apr 2 23:05:15 CEST 2009


On Thu, 2009-04-02 at 14:37 +0200, nboehme at uni-potsdam.de wrote:
> Dear List-Members,
> 
> does anyone know a simple way to automatically install all R packages  
> on a unix system to the default library path? Not from inside R, it  
> should rather work as a shell script - job at startup.
> 
> Something like R cmd install -l pkgs ### where pkgs should mean all  
> packages (is there an option to control overwriting?)
> 
> Thanks a lot,
> 
> N. Boehme

All packages in CRAN

install.packages(new.packages(),dep=T,clean=T)


-- 
Bernardo Rangel Tura, M.D,MPH,Ph.D
National Institute of Cardiology
Brazil




More information about the R-help mailing list