[Rd] JGR extension not working (PR#13501)
simon.urbanek at r-project.org
Thu Feb 5 16:00:59 CET 2009
fist, this is not a bug in R (not a bug at all, really), so we
specifically ask you to not waste other people's time and report it to
the maintainers. It is about a contributed package and there is a
mailing list specifically for JGR
In addition, you are apparently using a custom-built R so you are
expected to know what you're doing. If you had used the R binary from
CRAN all would work. If you insist on compiling it from sources you
have to set NOAWT=1 and install latest iplots in order to prevent AWT
from starting since it's not supported on Mac OS X 10.5 inside single-
threaded applications (such as R).
On Feb 5, 2009, at 3:15 , erikl at phonetik.uni-muenchen.de wrote:
> Full_Name: Erik Lukac
> Version: R version 2.8.1 (2008-12-22)
> OS: Mac OS 10.5
> Submission from: (NULL) (188.8.131.52)
> I tried to install JGR, but somehow it doesnt work.
> 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
> 'Yes' is assumed for all dialogs as they cannot be shown without a
> 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:
> 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
> R-devel at r-project.org mailing list
More information about the R-devel