[R] Write List to ASCII File !!

From: A Ezhil <ezhil02_at_yahoo.com>
Date: Wed 07 Dec 2005 - 00:22:38 EST

Hi All,

This may be trivial in R but I have been trying with out any success. I have a list of 100 elements each having a sub list of different length. I would like to write the list to a ASCII file. I tried with write.table(), after converting my list to a matrix. Now it looks like

Robert c("90", "50", "30")
John c("91", "20", "25", "45")

How can I get rid off c("", ..)? In my file, I would like to have

Robert 90, 50, 30
John 91, 20, 25, 45

Thanks in advance.


R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Dec 07 01:01:28 2005

This archive was generated by hypermail 2.1.8 : Wed 07 Dec 2005 - 02:29:14 EST