thank you for the hints.  a matrix is and it isn't the right tool for 
the job.  it is really a data frame, not a matrix.  the columns have 
meanings.  actually, a more general data frame would make a nice 
feature for the future---as if the folks doing the R development did 
not have enough to do ;-).  one particular kind of sparse data set 
implementation would make sense, in which either rows or columns are 
assumed to be contiguous, and an internal R parameter determines the 
start and end.  I bet there are many data sets that take the form of 
data that is available for a a consecutive set of columns only.  the 
data structure implementation of such a data frame may not be too 
difficult, either.

regards,

/iaw
---
ivo welch



-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Mon, 25 Jul 2005 03:58:09 -0500 (CDT)
Subject: Re: [R] sparse data frame (crsp?)

You could try reading it in a chunk at a time and making a sparse
matrix with SparseM, unless you really need some functionality
of dataframes.

R Koenker

______________________________________________
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

Reply via email to