R Studio Troubleshooting For Mac

General troubleshooting for the RStudio IDE ★ Resetting a user's state on RStudio Server ★ Troubleshooting Guide: Using RStudio ★ Troubleshooting Guide: Managing RStudio Server ★ Running R sessions with a program supervisor in RStudio Server Pro ★ Filling up the home directory with RStudio Server ★ RStudio Desktop on RHEL/CentOS 6 ★ Fixing missing TeX issue in OS X 10.11 El Capitan. Mac OSX Mavericks and RStudio troubleshooting I have been trying to download RStudio on my Mac OSX with the mavericks operating system. I have R installed and it is working fine but when I install RStudio a yellow exclamation sign comes up and the program will not open.

R Studio Troubleshooting For Mac Os Sierra

Active4 years, 2 months ago

I run R 3.2.0 GUI 1.65 Mavericks build (6931) and the latest version of RStudio (0.99.xx). On startup, I get an error message:

ERROR r error 4 (R code execution error) [errormsg=Error in .Internal(getOption(x)) : there is no .Internal function 'getOption']; OCCURRED AT: rstudio::core::Error rstudio::r::exec::evaluateString(const std::string &, SEXP *, sexp::Protect *) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:272

R Studio Troubleshooting For Mac

The only option is to click OK then exit, no menu, just a blank page. I've tried deleting older versions of R but that doesn't work.

I've tried uninstalling and reinstalling both R and RStudio, clearing older versions of R, resetting RStudio's state, basically everything short of creating a partition to run just R and RStudio. Anybody have any ideas?

DanielDaniel

1 Answer

I was able to solve this problem by deleting all R/RStudio resources which remained from installing them manually from .dmg:

  1. Uninstall CRAN R GUI app (drag it into the trash)
  2. Uninstall RStudio app (drag it into the trash)
  3. From Terminal:

    $ rm -rf ~/.rstudio-desktop/

    $ rm -rf /Library/Frameworks/R.framework /Applications/R.app /usr/bin/R /usr/bin/Rscript

You may still have some other files left. See:

I ignored these files.

Finally, reinstall r/rstdio via brew:

R Studio Troubleshooting For Mac Tutorial

Then you should be able to launch RStudio from ~/Applications. If it still doesn't work, check that what you have installed from brew is up to date.

R Studio Troubleshooting For Mac 10.5

Lantern RougeLantern Rouge
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Not the answer you're looking for? Browse other questions tagged rmacosrstudio or ask your own question.