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
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