Hi everybody,
I was wondering if anubody has faced issues in ENMeval, when running long or demanding analyses in R. Particularly, I have had continuous problems trying to use "jackknife" occurrence permutation method, for which R crashes showing an issue related to rJava. I tested a small dataset (11 occurrences) on 5 raster layers and after a few seconds, R sends the following error:
java.io.FileNotFoundException: C:\Users\BOTANI~1\AppData\Local\Temp\RtmpOWRZRY\file11cc2f1a4b7c\plots\species_roc.png (Acceso denegado)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(Unknown Source)
at java.io.RandomAccessFile.<init>(Unknown Source)
at javax.imageio.stream.FileImageOutputStream.<init>(Unknown Source)
at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(Unknown Source)
at javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
at javax.imageio.ImageIO.write(Unknown Source)
at density.Runner.writePlots(Runner.java:2449)
at density.Runner.writeCumulativeIndex(Runner.java:1947)
at density.Runner.start(Runner.java:493)
at mebridge.fit(mebridge.java:27)
Error in rJava::.jcall(mxe, "S", "fit", c("autorun", "-e", afn, "-o", : java.lang.NullPointerException
The command line for this rutine was the following:
c = ENMevaluate(bis, cli, method="jackknife", bg, RMvalues = c(1,2,3), fc = c("L", "LQ"), bin.output=TRUE,clamp=TRUE, parallel=FALSE)
I suspect that there is some issue in my computer to save files in the Temp folder, since the error is found when jackknife is applied. I tested other methods of partitioning with no issue at sight. I am using a computer with Windows 7 (64x).
Has anybody get this error before? Is there any way to get around this problem??
Thanks a lot!!
Oscar