Thanks for the info and workaround, Robert.
(set.seed was used)
--
View this message in context:
http://r-sig-geo.2731867.n2.nabble.com/temp-files-in-raster-tp7402174p7404001.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
___
R-sig-Ge
Hi R geo gurus-
I am using the raster package to run functions on large spatial datasets
(>19million cells * many iterations thereby producing large arrays or
brickrasters).
The system has written my function to a temporary file because it is too
large to be held in memory. *Can only 1 temporary
That was exactly it. Thank you, Etienne.
--
View this message in context:
http://r-sig-geo.2731867.n2.nabble.com/Error-in-writeRaster-tp7379982p7380569.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
___
R-sig-Geo mailing list
R-sig-Ge
Hi all,
I'm running the latest version of R (info below) with the raster and rgdal
libraries loaded.
I get the following error when trying to write to a raster (one I have not
seen before with previous runs of this code):
> rRisk_mn <- writeRaster(risk_mn, 'risk_mn.tif', format=raster,
> overwrit
Robert, thank you very much! I believe this sets me on the right path.
2 issues I'm looking into:
1) I do receive an S4 error after the as.matrix(x) step:
> as.matrix(x)
/Error in as.vector(data) :
no method for coercing this S4 class to a vector/
2) Perhaps related, I'm not sure if I'm losin
Hi all,
I hope you forgive me for this cross-post. I requested help a few days ago
on the general R-help board but haven't received a response. I think that a
solution can most likely be answered by someone familiar with working with
large spatial datasets.
I have raster datasets exported from Ar