Hi, I wanted to install the gWidgets package and ran the following code: ------------------------------------------> install.packages("gWidgets")trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.7/gWidgets_0.0-30.zip' Content type 'application/zip' length 1354268 bytes (1.3 Mb) opened URL downloaded 1.3 Mb package 'gWidgets' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Documents and Settings\ts\Local Settings\Temp\Rtmpx7Ow1V\downloaded_packages updating HTML package descriptions> library(gWidgets)Error in fun(...) : *** gWidgets requires a toolkit implementation to be installed, for instance gWidgetsRGtk2, gWidgetstcltk, or gWidgetsrJava*** . Error : .onLoad failed in 'loadNamespace' for 'gWidgets' Error: package/namespace load failed for 'gWidgets'>-------------------------------------------------- I can't understand why I'm gettting the error. Earlier today, a very similar thing happened with a bioconductor package that I was trying to load. My sessionInof: =========================nfo() R version 2.7.2 (2008-08-25) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.7.2>========================= Any ideas what I could be doing wrong? thanks! [[alternative HTML version deleted]]
Tim Smith-5 wrote:> > Hi, > > I wanted to install the gWidgets package and ran the following code: > > ------------------------------------------ >> install.packages("gWidgets") > >The package you installed might be dependent on other packages that weren't installed, it's good practice to use: install.packages("gWidgets",dependencies=TRUE) This will install not only the requested package, but any packages that it depends on which you don't currently have. -Charlie ----- Charlie Sharpsteen Undergraduate Environmental Resources Engineering Humboldt State University -- View this message in context: http://www.nabble.com/gWidgets-install-tp19982415p19983079.html Sent from the R help mailing list archive at Nabble.com.
Thanks Charlie - I just tried it, but still get the same error: -------------------------------> install.packages("gWidgets",dependencies=TRUE)trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.7/gWidgets_0.0-30.zip' Content type 'application/zip' length 1354268 bytes (1.3 Mb) opened URL downloaded 1.3 Mb package 'gWidgets' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Documents and Settings\Pankaj\Local Settings\Temp\RtmpNj8Dbu\downloaded_packages updating HTML package descriptions> library(gWidgets)Error in fun(...) : *** gWidgets requires a toolkit implementation to be installed, for instance gWidgetsRGtk2, gWidgetstcltk, or gWidgetsrJava*** . Error : .onLoad failed in 'loadNamespace' for 'gWidgets' Error: package/namespace load failed for 'gWidgets'>------------------------------- - TS ----- Original Message ---- From: cls59 <sharpsteen@mac.com> To: r-help@r-project.org Sent: Tuesday, October 14, 2008 6:02:27 PM Subject: Re: [R] gWidgets install Tim Smith-5 wrote:> > Hi, > > I wanted to install the gWidgets package and ran the following code: > > ------------------------------------------ >> install.packages("gWidgets") > >The package you installed might be dependent on other packages that weren't installed, it's good practice to use: install.packages("gWidgets",dependencies=TRUE) This will install not only the requested package, but any packages that it depends on which you don't currently have. -Charlie ----- Charlie Sharpsteen Undergraduate Environmental Resources Engineering Humboldt State University -- View this message in context: http://www.nabble.com/gWidgets-install-tp19982415p19983079.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]]
Tim Smith <tim_smith_666 <at> yahoo.com> writes:> > Thanks Charlie - I just tried it, but still get the same error: > > ------------------------------- > > install.packages("gWidgets",dependencies=TRUE)...> > library(gWidgets) > Error in fun(...) : > > *** gWidgets requires a toolkit implementation to be > installed, for instance gWidgetsRGtk2, gWidgetstcltk, or gWidgetsrJava*** >Try installing gWidgetstcltk. That will allow you to use gWidgets with the tcltk package. Although the RGtk2 package works better with gWidgets, the tcltk one will require no extra software to install under windows. --John