[R] Retaining regularly used add-ons

Liaw, Andy andy_liaw at merck.com
Mon Sep 30 14:25:20 CEST 2002


I'm a bit surprised that people haven't mentioned autoload().

The potential downside of loading to many packages or `large' packages
unnecessarily, I believe, is a bit slower response as R need to search
through a lot of names (in addition to taking up memory).

Cheers,
Andy

> -----Original Message-----
> From: Robert Keefe [mailto:keef9490 at uidaho.edu]
> Sent: Friday, September 27, 2002 3:24 PM
> To: r-help at hypatia.math.ethz.ch
> Subject: [R] Retaining regularly used add-ons
> 
> 
> 
> Hi everyone,
> 
> How might I go about configuring R to keep
> add-on packages loaded from session to session?
> 
> Is this undesireable for some reason?
> 
> At present, I keep a file called "pckgs.txt" in my
> working directory with, e.g.,
> 
> library(gnlm)
> library(Hmisc)
> ...
> 
> and then type source("add-ons.txt") every time I start
> a new session. I suspect there's a more elegant way
> to hold on to the packages I use regularly?
> 
> Thanks in advance for any suggestions or insight, and
> a big thanks to all for creating and maintaining such
> a powerful tool.
> 
> Regards,
> 
> Rob
> 
> ____________
> 
> Rob Keefe
> M.S. student
> Department of Forest Resources
> University of Idaho
> PO Box 441133
> Moscow, ID
> 83844-1133
> 
> Lab: (208) 885-5165
> Home: (208) 882-9749
> 
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-.-.-
> r-help mailing list -- Read 
> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: 
> r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._._._._._
> 


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.

==============================================================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list