RStudio projects

A typical data analysis involves multiple files:

RStudio uses projects to organize files of one analysis and separate them from other analyses.

Here we create the project Learning_R with additional files used during the course.

Create a new project

Follow the subsequent steps to create a new project Learning_R.

From the RStudio menu choose: FileNew project...New directory...New project....
In the dialog box:

Check the current project

Refer to the following Figure:

Copy input files

Although R can be used to analyse data from files located anywhere in the filesystem, it is convenient to have such files in the project directory.
For the following parts of the course you need the files: pulse.csv , survey.csv .
Download (with a browser) or copy (with the system file explorer) these files to the project directory – here the details depend on the operating system of your computer.

Once the files are present in the project directory, they should be visible in the Files panel:



Copyright © 2022 Biomedical Data Sciences (BDS) | LUMC