[R-SIG-Mac] problem with loading JGR

ian.fellows at stat.ucla.edu ian.fellows at stat.ucla.edu
Mon Aug 1 17:31:16 CEST 2011


on the mac Deducer must be used from within the JGR console. see:
http://www.deducer.org/pmwiki/pmwiki.php?n=Main.MacOSXInstallation

ian


> Funny enough I was trying the same thing today after reading the
> discussion
> in Baptiste's Physicists thread. I get a very similar error when I started
> it in R...
>
>> require(deducer)
> Loading required package: deducer
> Warning message:
> In library(package, lib.loc = lib.loc, character.only = TRUE,
> logical.return
> = TRUE,  :
>   there is no package called 'deducer'
>> require(Deducer)
> Loading required package: Deducer
> Loading required package: rJava
> Loading required package: JGR
> 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.
> Error : .onLoad failed in loadNamespace() for 'iplots', details:
>   call: .jnew("org/rosuda/iplots/Framework")
>   error: 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
> Failed with error:  ‘package 'iplots' could not be loaded’
>
>> sessionInfo()
> R version 2.13.1 (2011-07-08)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] grid      stats     graphics  grDevices utils     datasets  methods
> base
>
> other attached packages:
>  [1] JavaGD_0.5-4    rJava_0.9-1     edgeR_2.2.5     quantmod_0.3-15
> TTR_0.20-2      xts_0.8-0
>  [7] zoo_1.7-2       Defaults_1.1-1  tis_1.17        ggplot2_0.8.9
> proto_0.3-9.2   reshape_0.8.4
> [13] plyr_1.6
>
> loaded via a namespace (and not attached):
> [1] digest_0.5.0    lattice_0.19-30 limma_3.8.2     tools_2.13.1
>
>
> But I downloaded the application from JGR directly and ran it. In JGR it
> loaded all the packages just fine. http://www.rforge.net/JGR/files/
>
> I can't say I know how to use it yet though... Just need to RTFM I guess.
>
> Brandon
>
>
>
>
>
> On Mon, Aug 1, 2011 at 13:20, Alan Kelly <AKELLY at tcd.ie> wrote:
>
>> dear all, my intention was to check-out Deducer for teaching purposes.
>>  Deducer would not load indicating problems with loading "iplots".  The
>> error message is the same as that repoduced below when I try to load
>> JGR.
>>  I've checked the Info.plist file in the R folder and there is no
>> "StartOnFirstThread" command line.
>> Any advice on how I might proceed?
>> Many thanks,
>> Alan Kelly
>> Trinity College Dublin
>>
>>
>> > library(JGR)
>> 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.
>> Error in .jnew("org/rosuda/iplots/Framework") :
>>  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
>> Error: package 'iplots' could not be loaded
>>
>> Session Info
>> > sessionInfo()
>> R version 2.13.1 (2011-07-08)
>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>
>> locale:
>> [1] en_US/en_US/en_US/C/en_US/en_US
>>
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>> other attached packages:
>> [1] JavaGD_0.5-4 rJava_0.9-1
>>
>> loaded via a namespace (and not attached):
>> [1] coda_0.14-2     grid_2.13.1     lattice_0.19-30
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list