[R] automatically generate the output name of my "for" loops

jiliguala jiliguala at mail.com
Wed Jun 15 00:24:18 CEST 2011


thanks, Greg Snow-2.

here i hav a question, how can i save the value of a list to a vector or a
matrix? say,
i have a list (data1) and a vector or a matrix (data2).

if i made like this,

data2 <- as.vector(data1)

it does not change anything, the data2 is still a list.

what i want to do is to creat a vector or a matrix to save the value of the
list.

thanks for helping

daniel


--
View this message in context: http://r.789695.n4.nabble.com/automatically-generate-the-output-name-of-my-for-loops-tp3592160p3598027.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list