[R] Loading packages at startup

Roger D. Peng rpeng at jhsph.edu
Tue Jan 20 16:33:21 CET 2004


Take a look at ?Startup.  You can create a Rprofile file 
which loads these packages from the start.

-roger

imap wrote:
> Hi,
> 
> I use the Windows R GUI.  I frequently use (or have my students use) foreign and survival packages.  I would like to make them part of the basic start-up package set (like base, ctest, etc.) using something short of recompiling a special Windows version of R.  Is this possible?  I examined the autoload() command but this seems to target a single command of package, and only apply during a single run of R.  Is there an initiation text file I could modify?  I can find no mention in the documentation of how this might be done.
> 
> Thanks,
> Rob
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list