I am trying to reinstall a package that I was previously able to install and use. I was building a package of my own after my computer unexpectedly restarted and then I star
I experienced the same problem while installing the libraries vanneuler and wordnet and solved the issue using the solution proposed by Kenneth. In my case the option -Xss2560k was enough to solve:
export _JAVA_OPTIONS="-Xss2560k"
In addition: instead of running the export command from the terminal the java option can be set directly from the R session with the following command:
options(java.parameters = "-Xss2560k")