[R] memory allocation error message
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Sep 14 09:11:58 CEST 2004
On 14 Sep 2004, Peter Dalgaard wrote:
> "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?
Also, netCDF has been withdrawn from CRAN, and you might want to use ncdf
or RNetCDF instead. (Windows ports of both are available now: see the
ReadMe on the CRAN windows contrib area.)
If the message really was similar you are using R < 1.6.0 and need to
upgrade.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list