[Rd] Loading a package

Orin Richards oowar at yahoo.com
Sun Apr 24 16:08:54 CEST 2011



Hello All,
I heard of the First() function in R. but am not sure entirely how it is used. 
 I would like to load an R package at startup, instead of having to manually 
load each time I run R. How is the first() function used to achieve this .

Specifically I would like to tell R at startup to look in a specific folder for 
the package and load it.

Is there a way to do this, and is there any code sample code avail for this.


Thanks for your help.

Orin



More information about the R-devel mailing list