Install R Programming Language on OS X With Homebrew

First of all here is a small video with highlight of R

Installation

First of all, prerequisites for installing R with homebrew is XQuartz and homebrew itself. You can find XQuartz here.

The installation itself is just couple of lines:

1
2
3
brew update
brew tap homebrew/science
brew install gcc r

That’s it, to test your environment just type r in the terminal and you will be prompted to r shell. To quit it use q() command.

If you are using zsh shell you also need to disable binding for r(by default it’s mapped for repeating last command). You can do so by adding disable r line to the .zshrc file.

Comments

Copyright © 2014 - Mikhail Nikalyukin - Powered by Octopress