鳳鳴は祖父の俳号

日記 メモ そんなの

MacOSX RインストールにはXQuartzが必要

 MacOSX Maveriks(10.9)にhomebrewでRをインストールしようとしたらXQuartzが必要だと怒られた。10.6からX11の代わりにXQuartzが必要らしい。

$ brew install r
r: Unsatisfied dependency: XQuartz
Homebrew does not package XQuartz. Installers may be found at:
https://xquartz.macosforge.org
Error: An unsatisfied requirement failed this build.
$

以下はログ:

$ brew install r
==> Installing dependencies for r: libtiff, isl, cloog, gfortran
==> Installing r dependency: libtiff
==> Downloading ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.tar.gz

curl: (28) Connection time-out
Trying a mirror...
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtiff/4.0.3 --without-x --disable-l
==> make install
🍺 /usr/local/Cellar/libtiff/4.0.3: 254 files, 3.8M, built in 97 seconds
==> Installing r dependency: isl
==> Downloading http://isl.gforge.inria.fr/isl-0.12.1.tar.bz2
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/isl/0.12.1 --w
==> make
==> make install
🍺 /usr/local/Cellar/isl/0.12.1: 55 files, 3.1M, built in 62 seconds
==> Installing r dependency: cloog
==> Downloading http://www.bastoul.net/cloog/pages/download/count.php3?url=./clo
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/cloog/0.18.1 -
==> make install
🍺 /usr/local/Cellar/cloog/0.18.1: 33 files, 556K, built in 39 seconds
==> Installing r dependency: gfortran
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gfortran-4.
######################################################################## 100.0%
==> Pouring gfortran-4.8.2.mavericks.bottle.1.tar.gz
==> Caveats
Brews that require a Fortran compiler should use:
depends_on :fortran
==> Summary
🍺 /usr/local/Cellar/gfortran/4.8.2: 960 files, 113M
==> Installing r
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading http://cran.r-project.org/src/base/R-3/R-3.0.2.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/r/3.0.2 --with-aqua --enable-R-framew
==> make
==> make install
==> Downloading http://rcompletion.googlecode.com/svn-history/r28/trunk/bash_com
######################################################################## 100.0%
==> Caveats
R.framework was installed to:
/usr/local/opt/r/R.framework

To use this Framework with IDEs such as RStudio, it must be linked
to the standard OS X location:
sudo ln -s "/usr/local/opt/r/R.framework" /Library/Frameworks

To enable rJava support, run the following command:
R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers

Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/r/3.0.2: 1536 files, 55M, built in 13.5 minutes
$