Skip to content

Installation under mac os x

hadley edited this page Dec 16, 2010 · 3 revisions

Both either method, first make sure that you have xcode installed.

Mac OS X

  1. Install Qt from http://qt.nokia.com/ Use the LGPL version, and the SDK complete development environment
  2. cmake 2.8.1 or later needs to be installed from cmake.org Need to ensure that it makes the command line scripts
  3. Might need to set PATH so that both are visible.
  4. Change into the directory where you want to keep the libraries, and get a copy of qtbase and qtpaint (qtinterfaces) from http://github.com/ggobi/.
  5. Install the packages: R CMD INSTALL qtbase --preclean R CMD INSTALL qtpaint --preclean
  6. Similarly, install plumbr from http://github.com/ggobi/plumbr
  7. For qmosaic you'll also need to install the productplots package from http://github.com/hadley/productplots

Mac OS X - with brew

First install homebrew and run brew dr to check everything is ok. Then run the following from the command line:

brew install cmake
brew install qt
git clone git://github.com/ggobi/qtbase.git && R CMD install qtbase
git clone git://github.com/ggobi/qtpaint.git && R CMD install qtpaint
git clone git://github.com/ggobi/plumbr.git && R CMD install plumbr