顾小波
2010-Aug-01 14:00 UTC
[R] Can saved R object .RData files be loaded by more than one R sessions for read only purpose?
Especially for large ff objects. Xiaobo.Gu [[alternative HTML version deleted]]
jim holtman
2010-Aug-01 19:19 UTC
[R] Can saved R object .RData files be loaded by more than one R sessions for read only purpose?
Yes, they are just a file that as many processes as you want to access them; just be careful if you do update the file unless you are somehow locking it. On Sun, Aug 1, 2010 at 10:00 AM, ??? <guxiaobo1982 at gmail.com> wrote:> Especially for large ff objects. > > > > > > Xiaobo.Gu > > > > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > 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. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?
Jens Oehlschlägel
2010-Aug-02 16:00 UTC
[R] Can saved R object .RData files be loaded by more than one R sessions for read only purpose?
Xiaobo.Gu, Shared reading should be fine. Shared writing is also possible, but it is important to understand that .RData files do only contain the meta-data of ff objects, not the ff data itself. This means you cannot have multiple processes updating the same .RData metadata but you can have multiple processes writing simultaneously to the same ff datafile. (it is your responsibility to avoid conflicts and to make sure you do not suffer problems with delayed cache refreshs as can happen on network drives) HTH Jens Oehlschl?gel
Jens Oehlschlägel
2010-Aug-02 16:14 UTC
[R] Can saved R object .RData files be loaded by more than one R sessions for read only purpose?
Xiaobo.Gu, Shared reading should be fine. Shared writing is also possible, but it is important to understand that .RData files do only contain the meta-data of ff objects, not the ff data itself. This means you cannot have multiple processes updating the same .RData metadata but you can have multiple processes writing simultaneously to the same ff datafile. (it is your responsibility to avoid conflicts and to make sure you do not suffer problems with delayed cache refreshs as can happen on network drives) HTH Jens Oehlschl?gel