Memory error when using java in R

Try:
options(java.parameters = "-Xmx1000m")
or
options(java.parameters = "-Xmx2048m")

You should make sure that you are setting the Java parameters before any JVM is initialized, i.e. before java-dependent packages are loaded.

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Install treemix in ubuntu 20.04