Hello Sir, Thanks for reply. The SessionInfo() gives the following output,
R version 2.10.1 (2009-12-14) i386-pc-mingw32 locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] RandomFields_1.3.41 geoR_1.6-27 sp_0.9-61 loaded via a namespace (and not attached): [1] grid_2.10.1 lattice_0.17-26 tools_2.10.1 I tried to reduce the data points but error remains the same. Also, I tried to run one of the examples given in the geoR documentation manual (shown as follows) but I get the same error # a "smallish" simulation pg30 - geoR documentation sim2 <- grf(441, grid = "reg", cov.pars = c(1, .25)) image(sim2) Sincerely, Madhura -- View this message in context: http://n4.nabble.com/the-error-in-DoSimulateRF-function-tp1592572p1592646.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.