> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Alaios
> Sent: Monday, February 06, 2012 3:11 AM
> To: peter dalgaard
> Cc: R-help@r-project.org
> Subject: Re: [R] R's memory capabilities
> 
> Thanks a lot for your answer :)
> actually I am converting a 256*256 image to a vector so to apply some 1-d
> transformations. Is it possible to  create in R a sparse matrix instead of
> carrying all those zeros?
> 
> So that means that I want to have a diagonal sparse matrix..
> 
> Thanks a lot
> 
> Alex
> 

maybe look at ?as.vector.  But it is really hard to know without knowing what 
you expect your "vector to look like or what transforms you will be doing.

Hope this is helpful,

Dan

Daniel Nordlund
Bothell, WA USA
 

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to