I\'m trying to install R using Homebrew. I ran these commands which are recommended elsewhere on SO:
brew tap homebrew/science
brew install R
You can also install R from this page:
https://cran.r-project.org/bin/macosx/
It works out of the box
brew install homebrew/science/r
works on OS X 10.11.6.
brew install cask
brew cask install xquartz
brew tap homebrew/science
brew install r
This way, everything is packager managed, so there's no need to manually download and install anything.
If you meant "r" specifically:
It was migrated from homebrew/science to homebrew/core.
For r 3.4.3
Mac High Sierra
:
brew tap homebrew/core
brew install Caskroom/cask/xquartz
brew install r
homebrew/science was deprecated So, you should use the following command.
brew tap brewsci/science
I am working MacOS 10.10. I have updated gcc to version 4.9 to make it work.
brew update brew install gcc brew reinstall r