Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gWidgetsRGtk2 warning #8

Closed
briancohn opened this issue Jul 27, 2016 · 2 comments
Closed

gWidgetsRGtk2 warning #8

briancohn opened this issue Jul 27, 2016 · 2 comments

Comments

@briancohn
Copy link
Contributor

After running

install.packages('retistruct')

In R 3.3.1 (2016-06-21)

When I run
retistruct::retistruct()
I get a message about gWidgets not being available on CRAN:

Loading required package: gWidgetsRGtk2
Trying to install required package gWidgetsRGtk2
also installing the dependencies ‘RGtk2’, ‘gWidgets’, ‘cairoDevice’

trying URL 'https://cloud.r-project.org/bin/macosx/mavericks/contrib/3.3/RGtk2_2.20.31.tgz'
Content type 'application/x-gzip' length 17418280 bytes (16.6 MB)
==================================================
downloaded 16.6 MB

trying URL 'https://cloud.r-project.org/bin/macosx/mavericks/contrib/3.3/gWidgets_0.0-54.tgz'
Content type 'application/x-gzip' length 1171239 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

trying URL 'https://cloud.r-project.org/bin/macosx/mavericks/contrib/3.3/cairoDevice_2.23.tgz'
Content type 'application/x-gzip' length 2448530 bytes (2.3 MB)
==================================================
downloaded 2.3 MB

trying URL 'https://cloud.r-project.org/bin/macosx/mavericks/contrib/3.3/gWidgetsRGtk2_0.0-83.tgz'
Content type 'application/x-gzip' length 816840 bytes (797 KB)
==================================================
downloaded 797 KB


The downloaded binary packages are in
    /var/folders/6n/rtq6r15173l00rj8xyz_p41w0000gn/T//RtmpaNxgBh/downloaded_packages
Loading required package: gWidgetsRGtk2
Loading required package: RGtk2
Loading required package: gWidgets
Loading required package: cairoDevice
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘gWidgetsRGtk2’
  1. What's the right way to move forward from here?
  2. Does this affect current/future operation of retistruct?

Thanks so much David!
-Brian

@davidcsterratt
Copy link
Owner

Hmm... This is a bit tricky to diagnose, as I don't have a Mac. There are problems getting GTK binaries for Mac; see #4 for a summary of how to deal with this. I'd suggest as a first course of action, closing R, then opening it again and trying retistruct::retistruct() again. Then look at the ways forward in #4.

gWidgets is still on CRAN, so there shouldn't be a problem there: https://cran.r-project.org/web/packages/gWidgets/index.html

The github version of Retistruct (which will be the next release) uses the gWidgets2 package, which is a rewrite of gWidgets.

@briancohn
Copy link
Contributor Author

Sounds good! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants