[R] Puzzled by write.table function

Wang, Hui Hui_Wang at affymetrix.com
Fri Feb 13 02:14:50 CET 2004


I am puzzled by the following:

I use two write.table function(write into files)  in my code  as following
(I use  source to call the code): 
....
write.table (x1, file ="x1.txt", quote = "FALSE", append=FALSE, sep="\t",
eol="\n", "na=NA"...)
....(more statement)
..
write.table (x2, file="x2.txt"...)


 it turned out the second one is always empty. 

I know there is nothing the code itself as I can get second write.table
statement work if I comment the first.

Does anybody know what happened here?

Thanks.
-h


Hui Wang,  Ph.D. | Research, Affymetrix Laboratories | AFFYMETRIX, INC. |
3450 central expressway | Santa Clara, CA 95051 | 408-731-5668 (office) |
408-772-4750 (cell) | 408-481-0543 (fax)




More information about the R-help mailing list