# Error Starting R

The R session failed to start.

## RStudio Version

`#version#`

## Error Message

`#launch_failed#`

## Process Output

The R session process exited with code #exit_code#.

### Errors

`#process_error#`

### Output

`#process_output#`

## Recent Log

#log_file# `#log_content#`

## Next Steps

R can fail to start up for many reasons. The following may help you resolve the problem:

- Investigate any errors above.
- Make sure that R starts up correctly outside RStudio (using RGui, R.app, or R in a terminal).
- Fully uninstall all versions of R from your machine, and reinstall the version you wish to use with RStudio.
- Remove startup customizations such as an `.Rprofile` file, if present.
- If posting this report online, use the Copy Problem Report button below to generate a textual version of this diagnostic.

Further troubleshooting help can be found on our website:

Troubleshooting RStudio Startup

## R Session Startup Failure Report ### RStudio Version #version# user_agent ### Error message #launch_failed# ### Process Output The R session exited with code #exit_code#. Error output: ``` #process_error# ``` Standard output: ``` #process_output# ``` ### Logs *#log_file#* ``` #log_content# ```