[R] dput sparseMatrix list

2016-01-04 Thread Lietz, Haiko
hi all, when dputting a list of sparse matrices (Matrix package), the output does not contain the data but the information that the list contains sparse matrices. M <- sparseMatrix(i = c(2, 1), j = c(1, 2), x = c(1, 1)) dput(M) ... works. dput(list(M, M)) ... does not work. how can I dput a

Re: [R] dput sparseMatrix list

2016-01-04 Thread David Winsemius
> On Jan 4, 2016, at 11:17 PM, Lietz, Haiko wrote: > > hi all, > > when dputting a list of sparse matrices (Matrix package), the output does not > contain the data but the information that the list contains sparse matrices. > > M <- sparseMatrix(i = c(2, 1), j = c(1,