[R] How to solve error : "cannot allocate vector of size 1208235 Kb"
Kum-Hoe Hwang
phdhwang at gmail.com
Fri Feb 11 06:33:06 CET 2005
Howdy R gurus !
I am newbie to R
I use R 2.0.1 in Windows XP. When I run R
I got the follwoing memory error.
My physical memory size is 3 Gb.
My R got the memory problem when it reached to
about 2 Gb.
Thanks in advance,
> library(spdep)
> sfr.lagsarlm <- lagsarlm(sfr.data$Bldgsqft ~ sfr.data$Ncounty + sfr.data$Nugb + sfr.data$Ngroup, data=sfr.data, listw=sfr.listw, method="eigen")
Error: cannot allocate vector of size 1208235 Kb
> memory.size(max=FALSE)
[1] 17862584
> memory.limit(size=NA)
[1] 3145728000
>
--
Kum-Hoe Hwang, Ph.D.
Kyonggi Research Institute, Korea (ROK)
(Urban Planning and GIS)
Phone : 82-31-250-3283
Email : phdhwang at gmail.com
More information about the R-help
mailing list