[R] R's memory capabilities

Daniel Nordlund djnordlund at frontier.com
Mon Feb 6 17:05:46 CET 2012


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> On Behalf Of Alaios
> Sent: Monday, February 06, 2012 3:11 AM
> To: peter dalgaard
> Cc: R-help at 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
 



More information about the R-help mailing list