Hello members of the R-help group.

I am trying to run multiple occurences of R (through the distributed
computing of Condor), and have all of them write their output into one
source.

It is similar (I believe), to running R several time on the same machine,
and running on each instance of R the same script. In that script there is a
line saying "write some text into a file", and I wish it to be the same
file. So at the end of the running I will have a single results file.

Here is the code I tried to run (which didn't work) :

con <- file("output.txt", open = "w")
cat("write me", file=con, append = T)
close(con)


Any suggestions?
Is it possible ? (or should I just write the output to many files, and at
the end combine them to one big file)

Thanks,
Tal










----------------------------------------------


My contact information:
Tal Galili
E-mail: Tal.Galili@gmail.com
Phone number: 972-52-7275845
FaceBook: Tal Galili
My Blogs:
http://www.talgalili.com (Web and general, Hebrew)
http://www.biostatistics.co.il (Statistics, Hebrew)
http://www.r-statistics.com/ (Statistics,R, English)

	[[alternative HTML version deleted]]


