From erikl at phonetik.uni-muenchen.de  Thu Feb  5 09:15:06 2009
From: erikl at phonetik.uni-muenchen.de (erikl at phonetik.uni-muenchen.de)
Date: Thu,  5 Feb 2009 09:15:06 +0100 (CET)
Subject: [Rd] JGR extension not working (PR#13501)
Message-ID: <20090205081506.2FF3F284A70C@mail.pubhealth.ku.dk>

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


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


> install.packages("JGR")
Warning in install.packages("JGR") :
  argument 'lib' is missing: using
'/Users/erikl/R/i386-apple-darwin9.6.0-library/2.8'
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
	/private/var/folders/Vg/Vgf6mZdSH8mlJdsK7HKoA++++TI/-Tmp-/RtmpgsoIqo/downloaded_packages
Warning message:
In install.packages("JGR") :
  installation of package 'JGR' had non-zero exit status



[Rd] JGR extension not working (PR#13501)
erikl at phonetik.uni-muenchen.de