Skip to content

Instantly share code, notes, and snippets.

@haven-jeon
Created November 14, 2012 16:40
Show Gist options
  • Save haven-jeon/4073204 to your computer and use it in GitHub Desktop.
Save haven-jeon/4073204 to your computer and use it in GitHub Desktop.
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