Re: [R] 00LOCK error with site-library

From: Paul Gilbert <pgilbert_at_bank-banque-canada.ca>
Date: Mon, 10 Dec 2007 17:50:33 -0500

Mark W Kimpel wrote:
> I have identical R.profiles and R_HOME directories set up on both my
> local machine and a remote linux cluster. To keep my libraries and R
> install separate, I use a site-library on both machines.
>
> The first line of my .Rprofile is:
> '.libPaths(new= "~/R_HOME/site-library") #tell R where site-library is'
>
> Until R-2.6.0 this was working fine on both machines, but since I have
> been unable to upgrade packages on the remote machine. Every attempt at
> upgrade results in a directory '00LOCK' being place in the
> site-directory and then the upgrade fails.

This directory gets placed there and then removed when the upgrade is finished, to prevent two processes from trying to simultaneously update the directory. If you terminated an upgrade in an unexpected way, say by dropping your connection, then the file will be left and you need to manually remove it before you try to upgrade again.

If you have removed it, and it keeps re-appearing, it is a sign of something else going wrong (usually outside of R).

Paul
>
> This has happened with R-2.6.0, 2.6.1, and now with R-devel (2.7.0).
>
> If I have this setup incorrectly I am puzzled as to why it works with my
> local machine and why it worked with versions of R prior to 2.6.0.
>
> Ideas?
> Thanks,
> Mark
>


La version franšaise suit le texte anglais.


This email may contain privileged and/or confidential in...{{dropped:26}}



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 10 Dec 2007 - 22:58:51 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 11 Dec 2007 - 01:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.