Some additional notes:

It looks like a Java problem. The preinstalled version on the Mac was 1.5.0_16, 
but I switched to 1.6.0_07. Below are error messages for
library(JGR) and library(iplots)

# load JGR

> library(JGR)
Lade nötiges Paket: rJava
Lade nötiges Paket: JavaGD
Lade nötiges Paket: 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'
Zusätzlich: Warning message:
In .jnew("org/rosuda/iplots/Framework") :
  NewObject("org/rosuda/iplots/Framework","()V",...) failed
Fehler: Paket 'iplots' konnte nicht geladen werden
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)
> 

# load iplots

> library(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'
Zusätzlich: Warning message:
In .jnew("org/rosuda/iplots/Framework") :
  NewObject("org/rosuda/iplots/Framework","()V",...) failed
Fehler in library(iplots) : .First.lib fehlgeschlagen für 'iplots'
java.lang.NoClassDefFoundError
        at org.rosuda.iplots.Framework.<init>(Framework.java:43)
> 



-----Ursprüngliche Nachricht-----
Von: r-sig-mac-boun...@stat.math.ethz.ch im Auftrag von Beckmann Lars
Gesendet: Sa 2009-04-25 18:46
An: r-sig-mac@stat.math.ethz.ch
Betreff: [R-SIG-Mac] JGR, JAva and Macintosh
 
Hey,

I ahve a Mac book pro with Mac OS 10.5.6. Recently I installed Xtools, since 
then I cannot work with JGR. I reinstalled R (now 2.9.0) and rJava. The error 
message after a double click on JGR.app is 


Cannot find JRI library

Cannot find java/R interface (JRI) library (libjri.jnilib)
Please make sure you start JGR  by double -clicking teh JGR application


any help?
Lars

----------------------------------
German Cancer Research Center DKFZ Heidelberg, Germany
Unit of Genetic Epidemiology
Division of Cancer Epidemiology
Im Neuenheimer Feld 280
69120 Heidelberg
Phone  49-6221-422214
Fax    49-6221-422203
e-mail: l.beckm...@dkfz.de

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to