Using projects in RStudio is a good way to organize your work. Each project has its own working directory with a separate R session, workspace, console input history, and open editor tabs (among other things). Each time a project is opened, each of these will be set to the value currently associated with the project, in effect launching a new R session, loading the data and console history since the last time the project was used (if they are selected as the default behavior or individually for this project), setting the working directory to the one associated with the project, and so on. This allows you to switch in and out of different projects either as you work or when you pick up work the next day. To set up ...
Projects in RStudio (h3)
Get Web Application Development with R Using Shiny - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.