
- #GEDIT MAC MAVERICKS HOW TO#
- #GEDIT MAC MAVERICKS FOR MAC#
- #GEDIT MAC MAVERICKS MAC OS X#
- #GEDIT MAC MAVERICKS INSTALL#
#GEDIT MAC MAVERICKS MAC OS X#
R version 3 requires the GTK+ 2.24 framework which does not always work properly out of the box on Mac OS X throwing a malloc error when running the following simple example (or failing even before that during the installation of RGtk2 with an error that claims GTK to be missing, along the lines of configure: error: GTK version 2.8.0 required):
#GEDIT MAC MAVERICKS INSTALL#
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.
#GEDIT MAC MAVERICKS FOR MAC#

For graphical user interfaces (GUIs) from R, you need both the X Window System (included by default with Mac OS X before Mountain Lion, i.e. Additionally, I highly recommend R-Studio for working with R regularly (but the basic command line will work just fine for most applications). When in doubt, I recommend giving the quick installation below a try and if RGtk2 does not install properly right away, not to waste any time trying to get it to work and instead just taking the work-around route below. For example, with R 3.1.1 and Mac OS X 10.9.3 it seems to work mostly without trouble (tested in July 2014), but with R 3.1.2 and Mac OS X 10.10.1, the work-around was necessary again (tested in December 2014).
#GEDIT MAC MAVERICKS HOW TO#
Certain combinations of R and Mac OS X have trouble with this ( details on the problem and instructions on how to work around it below). With some versions of R > 3.1 and Mac OS X, GTK+ now works out of the box with the following installation instructions. in installations from GitHub using devtools, try: install_github(., reload=F, quick=T). If the other package depends on RGtk2 and installation from source fails during package test loading with an error that RGtk2 could not be found, try installing without automatic reload, e.g. Note: for some reason on Windows 8, the RGtk2 package is not always recognized during compilation of other source packages, even if it can be loaded and works perfectly fine.

Installation information for R with GTK+ Windows
