[R] iplots/JGR on OS X 10.4.8
bobp
rmpruzek at yahoo.com
Thu Dec 21 21:39:49 CET 2006
iMac Intel Core Duo; OS X 10.4.8; Java 1.5.0_06; R 2.4.1; JGR 1.4-14; rJava
0.4-12; iplots 1.0-5
I'm unable to get JGR or iplots to load using "library(JGR)" or
"library(iplots)", respectively. This feels like it might be a classpath or
Mac look-and-feel issue, but I'm not sure where to go with it at this point.
I've searched the fora and web to no avail.
Any pointers are appreciated.
> install.packages("JGR",dep=TRUE)
> library(JGR)
Loading required package: iplots
Error in .jnew("org/rosuda/iplots/Framework") :
Failed to create object of class `org/rosuda/iplots/Framework'
In addition: Warning message:
NewObject("org/rosuda/iplots/Framework","()V",...) failed
Error: package 'iplots' could not be loaded
Exception in thread "main" java.lang.NoClassDefFoundError
at com.apple.mrj.MRJPriv.registerAboutHandler(MRJPriv.java:281)
at
com.apple.mrj.MRJApplicationUtils.registerAboutHandler(MRJApplicationUtils.java:64)
at org.rosuda.util.PlatformMac.registerHandlers(PlatformMac.java:43)
at org.rosuda.util.PlatformMac.<init>(PlatformMac.java:20)
at org.rosuda.iplots.PlatformMac.<init>(PlatformMac.java:16)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.rosuda.util.Platform.initPlatform(Platform.java:44)
at org.rosuda.iplots.Framework.<init>(Framework.java:48)
>
or in the case of iplots directly...
> library(iplots)
Error in .jnew("org/rosuda/iplots/Framework") :
Failed to create object of class `org/rosuda/iplots/Framework'
In addition: Warning message:
NewObject("org/rosuda/iplots/Framework","()V",...) failed
Error in library(iplots) : .First.lib failed for 'iplots'
Exception in thread "main" java.lang.NoClassDefFoundError
at com.apple.mrj.MRJPriv.registerAboutHandler(MRJPriv.java:281)
at
com.apple.mrj.MRJApplicationUtils.registerAboutHandler(MRJApplicationUtils.java:64)
at org.rosuda.util.PlatformMac.registerHandlers(PlatformMac.java:43)
at org.rosuda.util.PlatformMac.<init>(PlatformMac.java:20)
at org.rosuda.iplots.PlatformMac.<init>(PlatformMac.java:16)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.rosuda.util.Platform.initPlatform(Platform.java:44)
at org.rosuda.iplots.Framework.<init>(Framework.java:48)
>
--
View this message in context: http://www.nabble.com/iplots-JGR-on-OS-X-10.4.8-tf2867552.html#a8014572
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list