Re: [R] storing matrices in a list or vector and preserve dimensions

2008-01-08 Thread Gabor Csardi
Bram, On Tue, Jan 08, 2008 at 03:11:07PM +0100, Bram Kuijper wrote: > Hi all, > > As an R newbie, I wonder how I can store multiple matrices in a list() > or vector() object without losing their structure. I should be able to > retrieve the matrix from the list later on. > > If I just append()

[R] storing matrices in a list or vector and preserve dimensions

2008-01-08 Thread Bram Kuijper
Hi all, As an R newbie, I wonder how I can store multiple matrices in a list() or vector() object without losing their structure. I should be able to retrieve the matrix from the list later on. If I just append() the matrices to a list() object, they automatically lose their dimensions, wherea