[R] package installation on Mac OS X 10.3.9

David Ruau druau at ukaachen.de
Wed Mar 8 13:15:25 CET 2006


Hi,
What is the R version you use?

I am also working with OS X 10.3.9 and I got this error once with a  
older release of R.
I found that when I used the 'superuser' it worked.
either:
$ sudo r
and do the install as you did or:
$ sudo R CMD INSTALL /path/to/your/package.tar.gz

Best,
David

On Mar 8, 2006, at 9:58, Patrick Giraudoux wrote:

> Dear listers,
>
> I am tryin to install a package in a student training room.
> Unsuccessfull! With this message:
>
>> install.packages("pgirmess")
> trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
> Content type `text/plain; charset=iso-8859-1' length 77400 bytes
> opened URL
> ==================================================
> downloaded 75Kb
>
> trying URL  
> `http://cran.r-project.org/src/contrib/pgirmess_1.2.5.tar.gz'
> Content type `application/x-tar' length 49962 bytes
> opened URL
> ==================================================
> downloaded 48Kb
>
> ERROR: failed to lock directory
> '/Library/Frameworks/R.framework/Versions/2.0.1/Resources/library' for
> modifying
> Try removing
> '/Library/Frameworks/R.framework/Versions/2.0.1/Resources/library/ 
> 00LOCK'
>
> Delete downloaded files (y/N)? N
>
> Can anybody advise a bit more clearly about the origin of this failure
> and anticipate a way to work it around?
>
> Cheers,
>
> Patrick
>
> ______________________________________________
> 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
>




More information about the R-help mailing list