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.
Follow the subsequent steps to create a new project
Learning_R
.
From the RStudio menu choose:
File
↣New project...
↣New directory...
↣New project...
.
In the dialog box:
Learning_R
.Create project
to finalize the process.Refer to the following Figure:
Learning_R
is the current project.Learning_R.Rproj
in the Files
panel.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 © 2024 Biomedical Data Sciences (BDS) | LUMC