R brew tap homebrew/science brew install Caskroom/cask/xquartz brew install r R STUDIO https://download1.rstudio.org/RStudio-0.99.903.dmg