11.4 RStudio Workspace

In the tab ‘Session’, you find options to Save and Load Workspace. These options allow you to save all variables (and their content) that you have created during your session.

11.4.1 Exercises: RStudio Workspace

See Section 18.0.29 for solutions.

  1. Assign the values 1,2,3 to variables a, b and c, respectively. Quit RStudio and save the work space.

  2. Start RStudio again and check that all variables you created are still there.

  3. Use R to calculate log(a) and assign the result to variable y. Quit RStudio without saving the work space. Restart RStudio and check that the variables a, b and c exist, but not y.