[R-sig-Geo] Problem of vector allocation in GSIF package

Manuel Spínola m@p|no|@10 @end|ng |rom gm@||@com
Fri Sep 13 17:38:23 CEST 2019


Dear list members,

I am fitting a model with the GSIF package, but I ran into a problem of
vector allocation.  Is there any way to solve this problem?  See code and
error message below.

I am using:
R 3.6.1
GSIF 0.5-5
Mac with 16 GB of RAM

> rk_rf_ac <- fit.gstatModel(variables_todos_sp["ac"], ac_formulaString_correlacion, covar_finales_sp, method = "quantregForest")Fitting a Quantile Regression Forest model...Shapiro-Wilk normality test and Anderson-Darling normality test report probability of < .05 indicating lack of normal distribution for residualsFitting a 2D variogram...Saving an object of class 'gstatModel'...> rk_rf_ac_pred <- GSIF::predict(rk_rf_ac, covar_finales_sp, predict.method = "KED")Error: cannot allocate vector of size 19.4 Gb

Thank you very much,

Manuel

-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola using una.cr <mspinola using una.ac.cr>
mspinola10 using gmail.com
Teléfono: (506) 8706 - 4662
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list