Re: [R] problem accessing complex list data frames

2010-12-08 Thread Germán Sanchis
gent.be > wink: A1.056, Coupure Links 653, 9000 Gent > ring: 09/264.59.36 > > -- Do Not Disapprove > > > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On > Behalf Of Germán Sanchis > Sent: woensdag 8 dece

Re: [R] problem accessing complex list data frames

2010-12-08 Thread Nick Sabbe
, 9000 Gent ring: 09/264.59.36 -- Do Not Disapprove -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Germán Sanchis Sent: woensdag 8 december 2010 11:50 To: r-help@r-project.org Subject: [R] problem accessing complex list data frames

[R] problem accessing complex list data frames

2010-12-08 Thread Germán Sanchis
Hi all. I am currently attempting to build a list of sparse matrixes. That I have already achieved, by > vmat <- list() > for (i in 1:n) { > vmat <- c(vmat, sparseMatrix(i,j,x=data) > } How I am trying to select those elements from the list where the column e.g. 999 is not null. I can do this