[R] Writing a matrix of lists as a CSV file

2016-01-14 Thread TJUN KIAT TEO
I have a matrix of lists in R that looks like this Crabs Glass nnet List,2 List,2rf List,1 List,1 An example of what a list looks like in the matrix size decay63 0.1 How can I write it into a csv file in R so I can retrieve it in the same format? Thanks

Re: [R] Writing a matrix of lists as a CSV file

2016-01-14 Thread PIKAL Petr
Hi I have no idea what you do want. You have several options how to save data in R. First three hits after my search "R save data" are https://stat.ethz.ch/R-manual/R-devel/library/base/html/save.html https://stat.ethz.ch/R-manual/R-devel/library/base/html/write.html

Re: [R] Writing a matrix of lists as a CSV file

2016-01-14 Thread Jim Lemon
Hi Teo, Your "list" looks suspiciously like a vector. It might help if you provided the output of: str(my_matrix) (or whatever your matrix is named) as that would ensure that we were talking about the same objects. Jim On Thu, Jan 14, 2016 at 7:10 PM, TJUN KIAT TEO