Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rJava option test
options( "java.parameters")
library(rJava)
options( "java.parameters")
#options( java.parameters = "" )
.jinit(parameters=c("-Dfile.encoding=UTF-8"))
#.jinit()
.jcall(.jnew("java/lang/Runtime"), "J", "totalMemory")
.jcall(.jnew("java/lang/Runtime"), "J", "maxMemory")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.