Articles by Henrik Bengtsson

Set package repositories at startup

September 27, 2012 | Henrik Bengtsson

The below code shows how to configure the 'repos' option in R such that install.packages() etc will locate the packages without having to explicitly specify the repository.  Just add it to the .Rprofile file in your home directory (iff missing, create it). For more details, see help("Startup").local({ ... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)