hope someone can help me here. I am a ecologist and as part of my master degree's thesis I am making some species distribution using the maxent (https://www.cs.princeton.edu/~schapire/maxent/) function in R, with the Dismo package.
In a certain point of the script (exactilly the one with refers to the model itself) I am using the follow command line:
me<-maxent(predictors,spp.occ,args=c("-J","-P","replicates=10","replicatetype=crossvalidate"),path='Results')
And I get the following error message:
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open file 'Results/species_9.lambdas': No such file or directory
After redoing the command several times exploring all its arguments I came to the conclusion that the argument that generates the error is the replicates = 10, which means that I want to replicate 10 times the template. I have perfomed with a smaller number of replications and up to 9 there was no error.
In advance I apologize for my language, in fact I am not a programmer, but I really need to resolve this issue and hope someone can help me.
Thank you very much.
The best,
Ramiro.