Skip to content
Prev 9673 / 12125 Next

[R-pkg-devel] Error: [writeRaster] cannot write file

On 09/10/2023 6:56 p.m., Keshav, Krishna wrote:
That doesn't answer the question, and the link you provided doesn't 
answer it either, as far as I can see.  In the test and the vignette 
that generated the errors, something specific was passed as outdir.  But 
what? If it was getwd(), that's bound to fail -- you don't have 
permission to write there.  tempdir() should have worked, but Berry 
pointed out some other things that might be problems.

Duncan Murdoch