Restart R/Rstudio and confirm GTK is up and running by loading the package: library(RGtk2) (should execute without errors). ![]() If installation from source fails, you can try a slighlty older R version that has the binaries or check out the work-around below. If so, you can try to run install.packages("RGtk2", depen=T, type="source") instead to install the RGtk2 package from source (this might take a few minutes and ask you to install the Xcode command line tools - just hit Install and follow the instructions if you get this message, then rerun install.packages("RGtk2", depen=T, type="source")). This might fail with the warning that package ‘RGtk2’ is not available (for R version xxx) depending on your version of R. If you get this info box, follow the installation instructions to install the X11 replacement XQuartz (you might have to log out and back in after installation) In newer versions of Mac OS X, this will prompt an info box that X11 is no longer included with OS X.
0 Comments
Leave a Reply. |