Re: [Rd] 00LOCK and nfs

2010-06-14 Thread Kasper Daniel Hansen
Thank you very much for including this additional capability. Our cluster is still running NFS 3 and I doubt I will be able to get the file system upgraded. It is nice to know that the problem is mostly solved under NFS 4. Kasper On Thu, Jun 10, 2010 at 7:54 AM, Prof Brian Ripley wrote: > Note

Re: [Rd] 00LOCK and nfs

2010-06-10 Thread Prof Brian Ripley
Note that this patch is incomplete: there are three separate branches in install.packages() where R CMD INSTALL is used, and one already uses --pkglock. (So a short-term solution for you is to set Ncpus > 1.) However, I think this request has been subsumed by a more general need to be able t

Re: [Rd] 00LOCK and nfs

2010-06-01 Thread Kasper Daniel Hansen
Further experimentation using this patch to install.packages shows that I sometimes have remaining 00LOCK-pkgname directories after doing a massive update on a multi-user system with R installed on NFS. However, I have never had install.packages/update.packages stop midway because of an unremovable

Re: [Rd] 00LOCK and nfs

2010-05-18 Thread Kasper Daniel Hansen
This is a follow-up to an old thread with kind of solution to the 00LOCK problem on NFS. I have made a patch to install.packages to accept a new argument locktype = c("lock", "no-lock", "pkglock") which is passed to R CMD INSTALL. This addition might have independent interest aside from the NFS

Re: [Rd] 00LOCK and nfs

2010-04-27 Thread Tony Plate
I have some tools and an R package that together provide a solution to the problem of updating an R package while it is attached in one or more running R sessions (whether on the same machine or not.) The technique is to always create a new directory for the newly installed package, so that ex

Re: [Rd] 00LOCK and nfs

2010-04-26 Thread Kasper Daniel Hansen
2010/4/26 Christian Brechbühler : > > > On Mon, Apr 26, 2010 at 11:15 AM, Kasper Daniel Hansen > wrote: >> >> I am running into a problem with the 00LOCK file and .nfs files.  It >> seemed to be caused by the following >>  R is installed on NFS >>  user A has loaded pkg_A containing a dynamically

Re: [Rd] 00LOCK and nfs

2010-04-26 Thread Christian Brechbühler
On Mon, Apr 26, 2010 at 11:15 AM, Kasper Daniel Hansen < kasperdanielhan...@gmail.com> wrote: > I am running into a problem with the 00LOCK file and .nfs files. It > seemed to be caused by the following > R is installed on NFS > user A has loaded pkg_A containing a dynamically loaded library >