[Rd] Saving data into a text or CSV file using foreach/doSNOW

Krystian Radlak radler12 at op.pl
Sun Jul 24 13:17:11 CEST 2011


I solved this problem using Sys.getpid() function.

zz <- file(paste(cmd_args[7],Sys.getpid(),".txt",sep=""), "at")
write(rr,file=zz)
close(zz) 

--
View this message in context: http://r.789695.n4.nabble.com/Saving-data-into-a-text-or-CSV-file-using-foreach-doSNOW-tp3683155p3690132.html
Sent from the R devel mailing list archive at Nabble.com.



More information about the R-devel mailing list