[R] JGR install problem

pgseye prseye at gmail.com
Wed Mar 18 03:55:03 CET 2009


Hi,

I thought I'd like to try out JGR, but after installing the package (and
dependencies) I receive the following when I try to load it:

> library(JGR)
Loading required package: rJava
Loading required package: JavaGD
Loading required package: iplots
Note: On Mac OS X we strongly recommend using iplots from within JGR.
Proceed at your own risk as iplots cannot resolve potential ev.loop
deadlocks.
'Yes' is assumed for all dialogs as they cannot be shown without a deadlock,
also ievent.wait() is disabled.
Exception in thread "main" Error in .jnew("org/rosuda/iplots/Framework") : 
  Failed to create object of class `org/rosuda/iplots/Framework'
In addition: Warning message:
In .jnew("org/rosuda/iplots/Framework") :
  NewObject("org/rosuda/iplots/Framework","()V",...) failed
Error: package 'iplots' could not be loaded
java.lang.InternalError: Can't start the AWT because Java was started on the
first thread.  Make sure StartOnFirstThread is not specified in your
application's Info.plist or on the command line
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723)
	at java.lang.Runtime.loadLibrary0(Runtime.java:822)
	at java.lang.System.loadLibrary(System.java:993)
	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
	at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
	at java.awt.Color.<clinit>(Color.java:250)
	at org.rosuda.ibase.Common.<clinit>(Common.java:47)
	at org.rosuda.iplots.Framework.<init>(Framework.java:43)

iplots seems to be the problem, but I can't figure out why.

I'm running 2.8.1 and OS X 10.5.6.

Any ideas?

Thanks a lot,

Paul
-- 
View this message in context: http://www.nabble.com/JGR-install-problem-tp22572045p22572045.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list