I'm trying to update R from 3.2.2 (Fire safety) to 3.3.1 (Bug in your hair) on MacOS 10.11.15 (El Capitan).
Initially I tried to use the R-3.3.1.pkg from CRAN, which allowed me to use the new version in R.app. However when trying to access R through terminal, and through Sublime REPL, the previous version appears even though the installation should have deleted previous copies of R.
How do I fully delete the old copy? In El Capitan, the Frameworks folder is no longer present, so the previous fix:
rm -rf /Library/Frameworks/R.framework /Applications/R.app \
/usr/bin/R /usr/bin/Rscript
Does not work.
P.S. (meta) how can I fireproof myself against these OS conflicts in future? Should I just run R through a VM?