Re: [Rd] File lock mechanisms in R

2007-07-03 Thread Prof Brian Ripley
On Mon, 2 Jul 2007, Henrik Bengtsson wrote: > Hi, > > is there a (cross-platform) file-locking mechanism available in R (or > via some package)? I don't believe there really is a cross-platform file-locking mechanism available to any language. File-locking is an OS feature, and the semantics d

Re: [Rd] File lock mechanisms in R

2007-07-02 Thread François Pinard
[Henrik Bengtsson] >I am looking for a way to have one R session lock a file for >read/write access, while being updated/modified by another R session. >This will provide me with a-poor-mans parallelization method. It is >ok to have so called advisory looking (as in Unix), which are >non-mandator

[Rd] File lock mechanisms in R

2007-07-02 Thread Henrik Bengtsson
Hi, is there a (cross-platform) file-locking mechanism available in R (or via some package)? I am looking for a way to have one R session lock a file for read/write access, while being updated/modified by another R session. This will provide me with a-poor-mans parallelization method. It is ok t