From: Paul Baer <pbaer_at_berkeley.edu>

Date: Fri 14 Oct 2005 - 05:40:51 EST

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 Fri Oct 14 05:45:30 2005

Date: Fri 14 Oct 2005 - 05:40:51 EST

OK, I've tried to be a good citizen and use the searchable archives,
but with three search strings I haven't found the answer to what must
really be a simple question.

I want to create a list of objects from a set of matrices (in this case, 300x300). Suppose the first matrix is A. I tried:

> x=as.list(A)

But it I get a list of length 90,000

> length(x)

[1] 90000

instead of length 1, which is what I expected.

What's the simple trick I'm missing?

Thanks,

--Paul

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 Fri Oct 14 05:45:30 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:40:44 EST
*