I haven't looked at the info that Robert pointed you to (https://r-forge.r-project.org/forum/message.php?msg_id=5182&group_id=623), but have seen elsewhere that this can be caused by insufficient RAM available to Java. When you get the error in R, are you able to open the Maxent gui, or does that fail as well?
If R is hanging onto your memory, you could try a gc() now and again, which can free up memory.
Other than that, I would try and chase up rJava support.
Good luck,
John
--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To view this discussion on the web visit https://groups.google.com/d/msg/maxent/-/6aZp3LUyaYIJ.
--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To view this discussion on the web visit https://groups.google.com/d/msg/maxent/-/6aZp3LUyaYIJ.
To post to this group, send email to max...@googlegroups.com.
To unsubscribe from this group, send email to maxent+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/maxent?hl=en.
Batch mode
All parts of the interface can be set from the command line,
and the Run button can be automatically pressed after startup. This
allows for the program to be invoked in batch mode, multiple times in sequence,
if required. The command line flags can also be added to the maxent.bat
file, at the end of the "java ..." line, to change the default
settings of the program. Some of the more common flags have abbreviations that
can be used instead of the full flag. As an example, the following two
invocations are equivalent:
java -mx512m -jar maxent.jar environmentallayers=layers
samplesfile=samples\bradypus.csv outputdirectory=outputs togglelayertype=ecoreg
redoifexists autorun
java -mx512m -jar maxent.jar -e layers -s samples\bradypus.csv -o outputs -t
ecoreg -r -a
Any boolean flag can be given the prefix "no" or "dont" to
turn the flag off. Abbreviations for boolean flags toggle the default value.
The available flags are, in no particular order: