Skip to content

after R 1.3: can not write to or create directory `~/lib/R'

2 messages · Zsombor Cseres-Gergely, Henrik Bengtsson

#
Dear all,

I am running 

platform i386-pc-linux-gnu
arch     i386             
os       linux-gnu        
system   i386, linux-gnu  
status                    
major    1                
minor    3.0              
year     2001             
month    06               
day      22               
language R                

and have my own library path set up having

R_LIBS='~/lib/R'; export R_LIBS

in my bash_profile and

R_LIBS=/home/zs/lib/R/

in my .Renviron.

Before 1.3, there was no problem. Now if I download a package and try to
R CMD INSTALL it, I get the message

ERROR: cannot write to or create directory `~/lib/R'

Permissions are OK, and it worked just fine before! Anybody has the same?

Thanks,
Zsombor
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
This sound like the problem Kevin Murphy also had a couple of days ago,
which Thomas Lumley kindly solved. The problem was the use of quotation
marks in R_LIBS. For more info see the thread "[R] installing tree pkg on
linux" at
http://www.r-project.org/nocvs/mail/r-help/2001/3516.html.

Hope this will help you too.

Henrik Bengtsson
h b @ m a t h s . l t h . s e
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._