McClatchie, Sam (PIRSA-SARDI)
2005-Sep-13 05:47 UTC
[R] R CMD INSTALL -l /path/to/library packagename
Background:
OS: Linux Mandrake 10.1
release: R 2.1.1
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
Colleagues
Since I upgraded to R 2.1.1, I am getting a an error message from R CMD
INSTALL packagename that says
R_HOME ('/usr/local/lib/R') not found.
That's not too surprising, since R is now in /usr/lib/R, but what is
confusing me is that
R CMD INSTALL -l /path/to/library packagename is giving me the same message,
suggesting that I am misusing the -lib switch when I enter
R CMD INSTALL -l /usr/lib/R/library waveslim_1.5.tar.gz
I'm sure the fix is trivial, but I can't see it for looking in the
manual.
Any help appreciated.
Sam
----
Sam McClatchie,
Biological oceanography
South Australian Aquatic Sciences Centre
PO Box 120, Henley Beach 5022
Adelaide, South Australia
email <mcclatchie.sam at saugov.sa.gov.au>
Cellular: 0431 304 497
Telephone: (61-8) 8207 5448
FAX: (61-8) 8207 5481
Research home page <http://www.members.iinet.net.au/~s.mcclatchie/>
/\
...>><xX(??>
//// \\\\
<??)Xx><<
///// \\\\\\
><(((??>
>><(((??> ...>><xX(??>O<??)Xx><<
Gabor Grothendieck
2005-Sep-13 06:10 UTC
[R] R CMD INSTALL -l /path/to/library packagename
I don't use Linux but perhaps you should check what environment variables you have defined and also if you have anything in your *.site files, if you have them, that could cause that. On 9/13/05, McClatchie, Sam (PIRSA-SARDI) <mcclatchie.sam at saugov.sa.gov.au> wrote:> Background: > OS: Linux Mandrake 10.1 > release: R 2.1.1 > editor: GNU Emacs 21.3.2 > front-end: ESS 5.2.3 > > Colleagues > > Since I upgraded to R 2.1.1, I am getting a an error message from R CMD > INSTALL packagename that says > R_HOME ('/usr/local/lib/R') not found. > > That's not too surprising, since R is now in /usr/lib/R, but what is > confusing me is that > R CMD INSTALL -l /path/to/library packagename is giving me the same message, > suggesting that I am misusing the -lib switch when I enter > R CMD INSTALL -l /usr/lib/R/library waveslim_1.5.tar.gz > > I'm sure the fix is trivial, but I can't see it for looking in the manual. > Any help appreciated. > > Sam > ---- > Sam McClatchie, > Biological oceanography > South Australian Aquatic Sciences Centre > PO Box 120, Henley Beach 5022 > Adelaide, South Australia > email <mcclatchie.sam at saugov.sa.gov.au> > Cellular: 0431 304 497 > Telephone: (61-8) 8207 5448 > FAX: (61-8) 8207 5481 > Research home page <http://www.members.iinet.net.au/~s.mcclatchie/> > > /\ > ...>><xX(??> > //// \\\\ > <??)Xx><< > ///// \\\\\\ > ><(((??> > >><(((??> ...>><xX(??>O<??)Xx><< > > ______________________________________________ > 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 >