Directories can be watched to persist state through each session. By default, each content starts with a directory for /home/nt-user/workspace. To add or modify, click the Settings icon in the left sidebar and locate the Directories section:
If you'd like to backup additional directories, you can add them here. Directories will be limited to 100MB per backup.
The first directory is the starting directory for the file editor and its path is shown in the filetree.
Here is an example of adding an additional directory to track for RStudio:
By adding this to your directories, you will be able to persist any configuration changes you make in RStudio. Make sure to check out the RStudio interface to learn more about the setup!