First of all here is a small video with highlight of R
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
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
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