[Environment: Win XP, R 2.10.1]
I'm trying to install the packages JGR and iWidgets required by the
extracat package to make the interactive plots
in the package work. I've tried various things, but nothing seems to
work. Here is my most recent attempt,
followed by my sessionInfo().
Does anyone have any suggestions how to make this work?
>
> library(extracat)
Loading required package: reshape
Loading required package: plyr
Loading required package: grid
Loading required package: MASS
> ?irmb
starting httpd help server ... done
> data(housing)
> # example 1
> irmb(~Type+Infl+Cont+Sat,dset=housing,expected = TRUE,
+ eqwidth=FALSE,base=0.2,mult=2,lab.tv=TRUE,abbr=TRUE)
iWidgets requires 'JGR' in order to run correctly.
Please visit
http://www.rosuda.org/software/
to download it.>
> utils:::menuInstallPkgs()
trying URL
'http://probability.ca/cran/bin/windows/contrib/2.10/JGR_1.7-1.zip'
Content type 'application/zip' length 483687 bytes (472 Kb)
opened URL
downloaded 472 Kb
package 'JGR' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Documents and Settings\default\Local
Settings\Temp\RtmpNbWm3Y\downloaded_packages
> data(housing)
> # example 1
> irmb(~Type+Infl+Cont+Sat,dset=housing,expected = TRUE,
+ eqwidth=FALSE,base=0.2,mult=2,lab.tv=TRUE,abbr=TRUE)
iWidgets requires 'JGR' in order to run correctly.
Please visit
http://www.rosuda.org/software/
to download it.>
>
> sessionInfo()
R version 2.10.1 (2009-12-14)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] grid stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] extracat_1.0-1 MASS_7.3-6 reshape_0.8.3 plyr_0.1.9
loaded via a namespace (and not attached):
[1] tools_2.10.1
>
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street Web: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
I think you tried to start JGR from the console, which will usually not work. JGR has to be started using the launcher which is available at http://jgr.markushelbig.org/Download.html The irmb function will not only need the package installed, but also requires you to use the JGR console for your session. (because iWidgets depends on it) I will include some more detailed information on that in my help files in the next version. Best Alexander _________________________________________________________________ [[elided Hotmail spam]] [[alternative HTML version deleted]]
On 26.05.2010 15:28, Michael Friendly wrote:> [Environment: Win XP, R 2.10.1] > > I'm trying to install the packages JGR and iWidgets required by the > extracat package to make the interactive plots > in the package work. I've tried various things, but nothing seems to > work. Here is my most recent attempt, > followed by my sessionInfo(). > > Does anyone have any suggestions how to make this work? > > > > > library(extracat) > Loading required package: reshape > Loading required package: plyr > Loading required package: grid > Loading required package: MASS > > ?irmb > starting httpd help server ... done > > data(housing) > > # example 1 > > irmb(~Type+Infl+Cont+Sat,dset=housing,expected = TRUE, > + eqwidth=FALSE,base=0.2,mult=2,lab.tv=TRUE,abbr=TRUE) > iWidgets requires 'JGR' in order to run correctly. > Please visit > http://www.rosuda.org/software/ > to download it.> > > utils:::menuInstallPkgs() > trying URL > 'http://probability.ca/cran/bin/windows/contrib/2.10/JGR_1.7-1.zip' > Content type 'application/zip' length 483687 bytes (472 Kb) > opened URL > downloaded 472 Kb > > package 'JGR' successfully unpacked and MD5 sums checked > > The downloaded packages are in > C:\Documents and Settings\default\Local > Settings\Temp\RtmpNbWm3Y\downloaded_packages > > data(housing) > > # example 1 > > irmb(~Type+Infl+Cont+Sat,dset=housing,expected = TRUE, > + eqwidth=FALSE,base=0.2,mult=2,lab.tv=TRUE,abbr=TRUE) > iWidgets requires 'JGR' in order to run correctly. > Please visit > http://www.rosuda.org/software/ > to download it.>You need some JGR.exe from that URL, the package alone does not help. Hence just do what the authors of that package wrote in their message: Please visit http://www.rosuda.org/software/ to download it. Best wishes, Uwe> > > sessionInfo() > R version 2.10.1 (2009-12-14) > i386-pc-mingw32 > > locale: > [1] LC_COLLATE=English_United States.1252 > [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United > States.1252 > [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 > attached base packages: > [1] grid stats graphics grDevices utils datasets methods [8] base > other attached packages: > [1] extracat_1.0-1 MASS_7.3-6 reshape_0.8.3 plyr_0.1.9 > loaded via a namespace (and not attached): > [1] tools_2.10.1 > > >