Note that when creating a new project, this will give you a fresh R session. Make sure to save all files before creating or switching projects.
Create a new project from the Project Menu. Choose from “Existing Directory” and select the rstudioTraining directory saved on your computer. This starts up a new proejct and you'll see the training material in the files pane.
Open a few files from the file pane. (Notice that none of our other files were left open). We're going to switch back to our previous environment in a minute so save your work (although likely right now, you have not made any chagnes). Go to the upper right corner and see the project drop-down. Choose close project to close the current project and revert back to our previous environment. Notice that we have our old files back.
Switch back into the project from the project drop-down menu. Notice there is a “most rectly used” list of previous projects. After switching back into the proejct, use this menu again to select project options. These settings are different for each project and are different than the global options. Note though that you can also change your pane layout per project.
Open the global options and do the following:
Then close your project and see what changes persisted and which did not.
Go to the Project menu at the top of the RStudio application. This time select Open Project in New Window. Navigate to your project and find the .Rproj file. This is your RStudio project's main file. Opening this will open RStudio in that project. Select it and open the file. Now we have two RStudio sessions running at the same time.