Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: Unable to locate r binary by scanning standard locations

Tags:

macos

r

rstudio

Receiving the error: unable to locate r binary by scanning standard locations when trying to open Rstudio on my Mac. I have mac osx. I just downloaded Rstudio - Mac-OS X 10.6+ from rstudio.com

In the terminal the code ls -l /Library/Frameworks/R.framework/Versions/ gives me "no such file or directory"

Rstudio and R 3.3.1 are both in the application folder.

Don't know what to do from here.

like image 894
FredNorris Avatar asked Sep 29 '16 04:09

FredNorris


1 Answers

You don't have the R compiler installed. Rstudio does not download it by default.

Just install it from this website:

https://cran.r-project.org/bin/macosx/

Then restart R studio and it is going to work!!

like image 59
george Avatar answered Oct 12 '22 23:10

george