[R] Problems with Raster and clim.pact packages with large netcdf files (2.7G) in x64 bit R
Roger.bivand at nhh.no
Wed Nov 30 15:17:15 CET 2011
Emmanuel Jjunju <ejjunju <at> gmail.com> writes:
> I normally use the raster or clim.pact pckages to read netcdf (.nc) files.
> This has always worked out for me until this weekend every time i try to
> read a .nc file i get the following error
Could you please:
1. Consider moving this thread to R-sig-geo, where it may get more response?
2. Try to reproduce this just using the functions in the ncdf package, as this
is the package that both clim.pact and raster use for reading NetCDF files.
3. If you have access to a non-Windows platform, see if the fault is the same,
which would point to something in ncdf/64-bit, or if not, would point to an
issue in the Windows 64-bit NetCDF external dependency.
4. Since this is also file-dependent, see if any other similarly large NetCDF
files with a similar structure.
There is some traffic on NetCDF lists suggesting possible issues with posix.c
Hope this helps,
> I have confirmed that the problem is with R x64 Bit regardless of
> whether using Rstudio or R GUI or any other GUI.
> I repeat: No problems with 32 bit which is strange given that 32 bit
> restricts my memory to 3583 !! and if i load more data in the workspace i
> will run out of memeory.
> My machine has 16GB of RAM
More information about the R-help