[R] write table in ascii

2013-05-30 Thread Gary Dong
Dear R users, I have a data set in .csv and I hope to convert it to .dat (ascii) so it can work in an UNIX environment. Anyone can help me? Thank you! Gary [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] write table in ascii

2013-05-30 Thread Sarah Goslee
On Thu, May 30, 2013 at 6:35 PM, Gary Dong pdxgary...@gmail.com wrote: Dear R users, I have a data set in .csv and I hope to convert it to .dat (ascii) so it can work in an UNIX environment. Anyone can help me? Thank you! Please expand. Why can't you work with csv in a UNIX environment? I do

Re: [R] write table in ascii

2013-05-30 Thread Gary Dong
I am working in Windows system. But a software I am using requires data input in ascii (.dat, delimiters can be tabs or spaces). I was able to save the data into .dat (ascii) from SPSS, but it keeps causing problems. Thank you! Gary On Thu, May 30, 2013 at 3:51 PM, Sarah Goslee

Re: [R] write table in ascii

2013-05-30 Thread Sarah Goslee
Ah. On Thu, May 30, 2013 at 6:56 PM, Gary Dong pdxgary...@gmail.com wrote: I am working in Windows system. But a software I am using requires data input in ascii (.dat, delimiters can be tabs or spaces). I was able to save the data into .dat (ascii) from SPSS, but it keeps causing problems.

Re: [R] write table in ascii

2013-05-30 Thread Jeff Newmiller
I would bet the problem is end-of-line convention. This is a very old problem of text file conversion that has many solutions, none of which should be addressed by R. Rather, you should use any of the many standard file transfer mechanisms that understand EOL issues in text files, rather than