O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Checking JVM properties

You may want to check the JVM properties, if you encounter issues in executing Java commands in the R console:

> jvm = .jnew("java.lang.System") 
> jvm.props = jvm$getProperties()$toString() 
> jvm.props <- strsplit(gsub("\\{(.*)}", "\\1", jvm.props), ",  ")[[1]] 
> jvm.props 
 [1] "java.runtime.name=Java(TM) SE Runtime Environment" 
 [2] "sun.boot.library.path=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries" 
 [3] "java.vm.version=20.65-b04-462" 
 [4] "awt.nativeDoubleBuffering=true" 
 [5] "gopherProxySet=false" 
 [6] "mrj.build=11M4609" 
 [7] "java.vm.vendor=Apple Inc." 
 [8] "java.vendor.url=http://www.apple.com/" 
 [9] "path.separator=:" 
[10] "java.vm.name=Java HotSpot(TM) 64-Bit Server VM"  
..........    

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required