[R] a quick Q about memory limit in R
Yan Yu
yanyu at cs.ucla.edu
Tue May 20 23:23:28 CEST 2003
Hello, there,
I got this error when i tried to run " data.kr <- surf.gls(2, expcov,
data, d=0.7);"
"Error: cannot allocate vector of size 382890 Kb
Execution halted"
My data is 100x100 grid.
the following is the summary of "data":
> summary(data);
x y z
Min. : 1.00 Min. : 1.00 Min. :-1.0172
1st Qu.: 26.00 1st Qu.: 25.75 1st Qu.: 0.6550
Median : 51.00 Median : 50.50 Median : 0.9657
Mean : 50.99 Mean : 50.50 Mean : 1.0000
3rd Qu.: 76.00 3rd Qu.: 75.25 3rd Qu.: 1.2817
Max. :100.00 Max. :100.00 Max. : 2.6501
I have 2 Qs:
(1). for a 100x100 grid, why R tried to allocate such a HUGE vector,
382890 Kb??
(2) what decides the memory limit in R, How can increase that?
Many thanks,
yan
More information about the R-help
mailing list