r: Building R without Xquartz
Is there a way of bypassing the requirement of Xquartz to build R with linuxbrew?
Fixing the X11 dependency on Linux is on my radar, but I haven't got around to it. The workaround for now is to brew edit r and delete or comment out the line
depends_on :x11
modifying the depends_on :x11 got me much much further.
The error I'm receiving has me a bit perplexed. Here I'm running
brew install r --with-openblas
I get the following error
Error: File exists - /home/peter/.linuxbrew/Cellar/r/3.0.2/R.framework/Resources/bin/R or /home/peter/.linuxbrew/Cellar/r/3.0.2/bin/R
The gist of the 03.make file is at
https://gist.github.com/crd1859/7848684
I should have noted that those files do not exist either before or after the attempted brew install r --with-openblas
+1
Try brew install --without-x11 r.
Fixed by https://github.com/Homebrew/homebrew-science/commit/8742b2be770e8c25afec054976a5d4c126cb93a9
Hello sjackman, this do not work. I got the error message:
XY-MacBook-Pro:~ XY$ brew install --without-x11 r
==> Installing r from homebrew/homebrew-science
cairo: Unsatisfied dependency: XQuartz 0.0.0
Homebrew does not package XQuartz. Installers may be found at:
https://xquartz.macosforge.org
Error: An unsatisfied requirement failed this build.
brew update
brew options r
brew install --without-x11 r