[R] autoload libraries at startup

john seers (IFR) john.seers at bbsrc.ac.uk
Fri Mar 9 15:31:43 CET 2007


Hi 

I do not know if this is the best way, but have a look at .Rprofile - a
text file that lives in the R root directory ans is executed at startup.
You could put library() commands in that.

See ?Startup for more information.

Regards


JS



 
---

John Seers
Institute of Food Research
Norwich Research Park
Colney
Norwich
NR4 7UA
 

tel +44 (0)1603 251497
fax +44 (0)1603 507723
e-mail john.seers at bbsrc.ac.uk                         
e-disclaimer at http://www.ifr.ac.uk/edisclaimer/ 
 
Web sites:

www.ifr.ac.uk   
www.foodandhealthnetwork.com


-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of toby909 at gmail.com
Sent: 08 March 2007 20:46
To: r-help at stat.math.ethz.ch
Subject: [R] autoload libraries at startup


Hi All

I was wondering if there is a way I can specify in R that it should load

libraries automatically at startup, so that I do not have to manually
issue the 
command.

Thanks Toby

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list