From radler12 at op.pl  Sun Jul 24 13:17:11 2011
From: radler12 at op.pl (Krystian Radlak)
Date: Sun, 24 Jul 2011 04:17:11 -0700 (PDT)
Subject: [Rd] Saving data into a text or CSV file using foreach/doSNOW
In-Reply-To: <1311238487719-3683155.post@n4.nabble.com>
References: <1311238487719-3683155.post@n4.nabble.com>
Message-ID: <1311506231845-3690132.post@n4.nabble.com>

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.



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