Installing R with the pkg installer doesn't require XQuartz. However, install R with Homebrew requires to install XQuartz first.
Can anybody explain why please?
Is there a way to install R without Xquartz with Homebrew?
I need to decide whether to use Homebrew, or install R, Python etc with their pkg installers before applying to multiple computers (running OS X 10.8).
According to this commit on GitHub, it has been fixed.
r: fix build with Quartz-only cairo #2434
Now, XQuartz is not required anymore, tested and it works:
brew update
brew tap homebrew/science
brew install r