On Apr 27, 2009, at 9:42 , Beckmann Lars wrote:

Then the first error in the original message occurs:

The error message after a double click on JGR.app is a popup-windows with following message:

Cannot find JRI library

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


If you upgraded R or used a custom package path before, you'll have to remove your JGR preferences
rm ~/.JGRprefsrc
and re-try. If that doesn't help, please run JGR from the command line (Terminal) as follows and post the output:
/Applications/JGR.app/Contents/MacOS/JGR

Thanks,
Simon




________________________________

Von: [email protected] im Auftrag von Simon Urbanek
Gesendet: Mo 2009-04-27 15:24
An: Beckmann Lars
Cc: [email protected]
Betreff: Re: [R-SIG-Mac] JGR, JAva and Macintosh




On Apr 26, 2009, at 6:48 , Beckmann Lars wrote:

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)


You cannot load JGR from within an R session due to Os X 10.5
limitation - you should use the launcher supplied on the JGR website.

Cheers,
Simon


# 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: [email protected] im Auftrag von Beckmann Lars
Gesendet: Sa 2009-04-25 18:46
An: [email protected]
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: [email protected]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac




_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to