# Error Starting R

The R session failed to start.

## 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.

Further troubleshooting help can be found on our website:

Troubleshooting RStudio Startup