[R] attaching packages

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Apr 20 19:54:22 CEST 2001


On Fri, 20 Apr 2001, David White wrote:

>
> Hello,
>
> I have downloaded and installed e1071_1.1-0.tar.gz, my first add-on
> package. Because I am not the sys admin I installed it to my own home dir
> under ~/.R/library/

Don't!  help.start() regards that as its private area and tries to zap it.
Use say ~/R/library

> I read in the faq that I should make changes to the R_lib env variable in
> my .bashprofile or .Renviron files to make the new personal library
> components available. Unfortunately neither of these exist
> in my home dir. Can anyone make a suggestion as to my next step?
>
> If I had a sample .Renviron, I think I could modify it to my needs.
> Perhaps someone could forward a copy of theirs to me.

Assuming this is some sort of Unix/Linux, use

cat > ~/.Renviron
R_LIBS=~/R/library
^D

However, depending on your shell you may need to spell out ~ or use
$(HOME) instead, but you probably have bash.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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