阅读背景:

使用foreach写入R中的单个公共文件

来源:互联网 

I have a parallel process in R that should save results from each thread to one common file. But doing so creates problem as there is data overlap. I do aggregate in a data-frame and can write all the data at once in the end but since the data is huge, I want to make sure that data is not lost if system runs out of memory or something else happens. How do i write to one file and make sure that file is locked or data is written asynchronously. I am running my code on Windows just in case and am using I have a parallel process in R that should save




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: