[Rd] JGR extension not working (PR#13501)

erikl at phonetik.uni-muenchen.de erikl at phonetik.uni-muenchen.de
Thu Feb 5 09:15:06 CET 2009

Full_Name: Erik Lukac
Version: R version 2.8.1 (2008-12-22) 
OS: Mac OS 10.5
Submission from: (NULL) (

I tried to install JGR, but somehow it doesnt work. 

> install.packages("JGR")
Warning in install.packages("JGR") :
  argument 'lib' is missing: using
trying URL 'http://cran.rakanu.com/src/contrib/JGR_1.6-2.tar.gz'
Content type 'application/x-gzip' length 428978 bytes (418 Kb)
opened URL
downloaded 418 Kb

* Installing *source* package 'JGR' ...
** R
** inst
** preparing package for lazy loading
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.
2009-02-05 09:04:31.028 R[6886:613] Apple AWT Java VM was loaded on first thread
-- can't start AWT.
Warning in .jnew("org/rosuda/iplots/Framework") :
  NewObject("org/rosuda/iplots/Framework","()V",...) failed
Exception in thread "main" 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)
Error in .jnew("org/rosuda/iplots/Framework") : 
  Failed to create object of class `org/rosuda/iplots/Framework'
Error: package 'iplots' could not be loaded
Execution halted
ERROR: lazy loading failed for package 'JGR'
** Removing '/Users/erikl/R/i386-apple-darwin9.6.0-library/2.8/JGR'

The downloaded packages are in
Warning message:
In install.packages("JGR") :
  installation of package 'JGR' had non-zero exit status

More information about the R-devel mailing list