I have installed anaconda and the conda package R on my mac os x yosemite. When I type
which R
in my terminal, I get the following output
/Users/giovannisoldi/anaconda/bin/R
so it is actually linking to the right version. However, when I open RStudio, I can see that the old version of R located in
/Library/Frameworks/R.framework/Versions/2.15/
is still used. I tried to link to the current version of R in Anaconda, with the following command:
ln -sfhv /Users/giovannisoldi/anaconda/bin/ /Library/Frameworks/R.framework/Versions/Current
However, by doing this RStudio complains that it can't locate R.
Is there a way to solve this issue?