[R] Saving tab/csv delimited data with NaN's

2010-03-23 Thread shankar
Hello, I am working multiple simulated data sets with missing values, I would like to store these data sets in either tab delimited format for .csv format with missing values marked as NaN's instead of NA's. I read the import/export document which mentions that write.table command

Re: [R] Saving tab/csv delimited data with NaN's

2010-03-23 Thread Rolf Turner
On 24/03/2010, at 9:50 AM, shan...@bios.unc.edu wrote: Hello, I am working multiple simulated data sets with missing values, I would like to store these data sets in either tab delimited format for .csv format with missing values marked as NaN's instead of NA's. I read the

Re: [R] Saving tab/csv delimited data with NaN's

2010-03-23 Thread Sharpie
shankar-17 wrote: Hello, I am working multiple simulated data sets with missing values, I would like to store these data sets in either tab delimited format for .csv format with missing values marked as NaN's instead of NA's. I read the import/export document which mentions that

Re: [R] Saving tab/csv delimited data with NaN's

2010-03-23 Thread Rolf Turner
On 24/03/2010, at 12:34 PM, Sharpie wrote: shankar-17 wrote: Hello, I am working multiple simulated data sets with missing values, I would like to store these data sets in either tab delimited format for .csv format with missing values marked as NaN's instead of NA's. I read

Re: [R] Saving tab/csv delimited data with NaN's

2010-03-23 Thread Sharpie
Rolf Turner wrote: On 24/03/2010, at 12:34 PM, Sharpie wrote: foo - matrix(0,nrow=3,ncol=3) foo [,1] [,2] [,3] [1,]000 [2,]000 [3,]000 foo[3,3] - NA foo [,1] [,2] [,3] [1,]000 [2,]000 [3,]00 NA

Re: [R] Saving tab/csv delimited data with NaN's

2010-03-23 Thread Viswanathan Shankar
Thank you a ton - this simplifies my work considerably.- Shankar Rolf Turner wrote: On 24/03/2010, at 9:50 AM, shan...@bios.unc.edu wrote: Hello, I am working multiple simulated data sets with missing values, I would like to store these data sets in either tab delimited format for .csv