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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
?.First At 12:23 PM 9/27/2002 -0700, Robert Keefe wrote:> >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 >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._>With best wishes and kind regards I am Sincerely, Corey A. Moffet Support Scientist University of Idaho Northwest Watershed Research Center 800 Park Blvd, Plaza IV, Suite 105 Boise, ID 83712-7716 (208) 422-0718 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
? .First
? .Rprofile
At 12:23 PM 9/27/2002, Robert Keefe wrote:
>
>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
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dr. Marc R. Feldesman
Professor and Chairman Emeritus
Anthropology Department - Portland State University
email: feldesmanm at pdx.edu
email: feldesman at attglobal.net
fax: 503-725-3905
"Sometimes the lights are all shining on me, other times I can barely see,
lately it's occurred to me, what a long strange trip it's been..."
Jerry &
the boys
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._