[R] memory allocation error message

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Sep 14 08:57:28 CEST 2004


"Prodromos Zanis" <pzanis at geol.uoa.gr> writes:

> Dear all
> 
> I use the library(netCDF) to read in NCEP data. The file I want to
> read has size 113 Mb. When i try to read it I get the following
> message:
> 
> Error: cannot allocate vector of size 221080 Kb
> In addition: Warning message: 
> Reached total allocation of 255Mb: see help(memory.size) 
> 
> I get a similar message when I try to read a file with 256 Mb in a
> PC with 2 GigaByte RAM.
> 
> Is there something that I can do to handle this problem of reading
> big netCDF files with R-project.

Did you read help(memory.size)? and follow instructions therein?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list