Skip to content
Back to formatted view

Raw Message

Message-ID: <1238706315.16984.1.camel@R1-Thux>
Date: 2009-04-02T21:05:15Z
From: Bernardo Rangel Tura
Subject: Installation of all packages under Unix
In-Reply-To: <20090402143707.schsfuuehccc0g0w@webmail.uni-potsdam.de>

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