[R] installing and loading packages

Maria I. Tchalakova maria.tchalakova at gmail.com
Fri Mar 20 15:49:09 CET 2009


Hello,

is it possible to make so that once I have installed and loaded the
necessary packages in R, I don't need to install and load them for a
new session in R?
Up to now I install packages, for example, like this:

install.packages("package_name")

and then load them like this:

library("package_name")

When I exit R and then run it again, I need to install and load the
packages using again the above commands, so that I can use them. (I
save the workspace before I exit, but this doesn't help).
Thank you.




More information about the R-help mailing list