Re: [R] writing string values from a matrix to a file without enclosing quotes

2010-05-07 Thread Jorge Ivan Velez
Hi Nevli, Take a look at the "quote" argument under ?write.table. In your case write.table(x, "output filename", col.names = F, row.names = F, quote = FALSE) should do what you want. HTH, Jorge On Fri, May 7, 2010 at 11:18 AM, Nevil Amos <> wrote: > I am trying to format data for the Genela

[R] writing string values from a matrix to a file without enclosing quotes

2010-05-07 Thread Nevil Amos
I am trying to format data for the Geneland package I need to write a series of paired numbers and paired "000" to a plain ascii file without surrounding the numerals with quotes, the original data is in a matrix formatted paired strings, and written to file using write.table(x,"output filename",