
RStudio saves some session files in the ~/.rstudio-desktop directory - if this directory has its permissions changed, RStudio may not be able to read and write to that folder and may fail to start. Check the permissions on the ~/.rstudio-desktop directory If you have antimalware software configured that may be blocking RStudio, please check its settings and whitelist RStudio if necessary. If you have a firewall, HTTP or HTTPS proxy configured, add localhost and 127.0.0.1 to the list of approved Hosts and Domains. As a result, it is possible a (software-based) firewall, network setting, or antimalware program is blocking access to RStudio. Check firewall, proxy settings, and antimalwareĪlthough RStudio does not require internet access, it does use a localhost connection to link your R session with the RStudio IDE. Note: On Windows, you can force RStudio to bind to a specific version of R by pressing and holding Ctrl when starting RStudio. The displayed location must be in your search path for RStudio to successfully bind to your R installation. Open a standard console session (RGui, R.app, Terminal, etc) and type the following command at the console: > Sys.which("R") If you installed R to a non-default location, it is possible RStudio cannot find R on your machine. Be sure to include the steps to reproduce this error (including necessary code) and we'll investigate. If you are able to determine the source of the problem, please notify us with the details. If RStudio successfully starts after removing these files, try to pinpoint which file resulted in the error.
/cdn.vox-cdn.com/uploads/chorus_image/image/69927363/bfarsace_210921_4770_0010.0.jpg)
The R code within these files may be causing an error (see R Code is Not Working). RData from your initial working directory. Note: On Windows, if you have multiple versions of R installed, you can press and hold Ctrl when starting RStudio to select your version of R.

Make sure your current installation meets this requirement or download it here

RStudio requires R version 3.0.1 (or higher) to run.

If one of the following does not describe your problem, see the information at the bottom to start a new support discussion. Below is a list of common start-up problems.
