- Install x11 for mac os x how to#
- Install x11 for mac os x for mac#
- Install x11 for mac os x mac os x#
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.
Install x11 for mac os x mac os x#
Check if you have the X11 application (relevant for newer versions of Mac OS X such as Mountain Lion, Maverick, Yosemite, etc.): go into your Applications folder and look for X11 in the Utilities subfolder.Optional but recommended: install R-Studio.
Install x11 for mac os x 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).
Install x11 for mac os x 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.
This might fail with the warning that package ‘RGtk2’ is not available (for R version xxx) if your version of R has been released very recently. in R-Studio), install the RGtk2 package by running: install.packages("RGtk2", depen=T)