Setting up a project in RStudio
Projects in RStudio act something like a container for your “project”. Working with projects helps to keep your files and data organized. (You don’t technically have to use a project but life will be easier.) Setting a project up really isn’t as complex as it sounds. Start RStudio, click on “File/Project” and either create a folder or select a folder for the project. RStudio adds some files - most of which are hidden to that folder. One of these will have a file name of “yourprojectname.Rproj”. This file contains settings that pertain to the project you just set up. The next time you open RStudio you’ll be able to use the “Project” button in the upper right and select your project directly.
I put my scripts in this “root” folder and add several folders beneath it - more on this in a later post.