Problem: When working with a large data set or a large application, the following error message is presented due to the session exceeding the memory limit.
"The previous R session was abnormally terminated due to an unexpected crash. You may have lost workspace data as a result of this crash"
The problem can be solved by increasing your memory allocation, which can be done by following the steps below:
- Open the project, and click on the "gear" settings button in the header.
- In the panel that opens, click the Resources tab.
- Adjust the settings, click the "Apply Changes" button, and follow the prompts to reopen your project.
You can read more about it here - https://rstudio.cloud/learn/guide#project-resources