-
Notifications
You must be signed in to change notification settings - Fork 26
/
rstudio_project.qmd
36 lines (19 loc) · 1.34 KB
/
rstudio_project.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: "Creating an RStudio project"
format: html
---
A project is a folder that contains everything concerning your analysis and may include code, data and documentation. It is a complete research object that can be used to describe and reproduce your research.
Create a new project in RStudio as follows:
**File** -> **New Project** -> **New Directory**
<img src="assets/project_screen1.png" width="500">
In the **Project Type** screen, click on **Empty Project** or **New project**
<img src="assets/project_screen2.png" width="500">
In the **Create New Project** screen, give your project a name (e.g.'my_first_test_repo') and ensure that **create a git repository** is checked. Click on **Create Project**.
<img src="assets/project_screen3.png" width="500">
RStudio will create a new folder containing an empty project and set R's working directory to within it.
Two files are created in the otherwise empty project:
![](./assets/project_files.png)
* **.gitignore** - Specifies files that should be ignored by the version control system (e.g. sensible data files that should not be made public, or documentation that you don't need version controlled).
* **my_first_test_repo.Rproj** - Configuration information for the RStudio project
There is no need to worry about the contents of either of these for the purposes of this tutorial.
***