Re: [R] writeLines + foreach/doMC

2011-07-04 Thread Mario Valle
Read something about parallel processing and how I/O should be done by a single process. Suggestion: write a different file from each thread then combine the results with cat or similar. Hope it helps mario On 04-Jul-11 11:58, Ramzi TEMANNI wrote: Hi I'm proces

[R] writeLines + foreach/doMC

2011-07-04 Thread Ramzi TEMANNI
Hi I'm processing sequencing data trying to collapsing the locations of each unique sequence and write the results to a file (as storing that in a table will require 10GB mem at least) so I wrote a function that, given a sequence id, provide the needed line to be stored library(doMC) # load library