由于跟随错误
,我无法运行该命令t2 <- interpGrid(tasmax, new.coordinates = list(x = 9.2, y = 50.7), method=c("nearest"))
NOTE: argument 'bilin.method' ignored for nearest neighbour interpolation
Error: cannot allocate vector of size 2.4 Gb
虽然看起来有足够的内存可用,但此命令仍未处理。
> memory.limit()
[1] 8138
> memory.size()
[1] 7515.31
> memory.profile()
NULL symbol pairlist closure environment promise
1 19456 1209338 24939 4373 14778
language special builtin char logical integer
368282 45 675 44372 39378 169595
double complex character ... any list
30181 45 352790 0 0 84343
expression bytecode externalptr weakref raw S4
1 73101 3867 975 976 4357
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 2445874 130.7 3886542 207.6 3427423 183.1
Vcells 322961407 2464.0 885780355 6758.0 1042526251 7953.9