-
Notifications
You must be signed in to change notification settings - Fork 1
/
rstudio.Rmd
50 lines (29 loc) · 1.49 KB
/
rstudio.Rmd
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
36
37
38
39
40
41
42
43
44
45
46
47
# What is RStudio ?
* Free and open source IDE (Integrated Development Environment) for R
* Available for Windows, Mac OS and LINUX
<img src="images/rstudio_logo.png" alt="rstudio logo" width="250"/>
## RStudio access
* [RStudio Desktop installation](https://www.rstudio.com/products/rstudio/download)
* [RStudio access from the CRG server](http://rstudio4.linux.crg.es/auth-sign-in)
+ Access with CRG credentials
+ For those who don't have access to the CRG server, use the guest accounts.
![](images/rstudio_login.png "RStudio login")
## RStudio interface
* 4 panels:
+ top-left: scripts and files
+ bottom-left: R console
+ top-right: objects, history and environment
+ bottom-right: tree of folders, graph window, packages, help window, viewer
<a href="https://sbcrg.github.io/CRG_RIntroduction/images/rstudio_interface.png"><img src="images/rstudio_interface.png" alt="rstudio logo" width="1000"/></a>
## Setting up the folder structure for the course
Create the **Rcourse** folder (bottom-right panel, **Files** tab). Inside the Rcourse folder, create 3 sub-folder: **Module1**, **Module2**, **Module3**:
Rcourse<br>
|-Module1<br>
|-Module2<br>
|-Module3<br>
![](images/rstudio_folder.png "RStudio create folder")
### Note on files and folders names
As you choose names for files and folders, a few rules will make your life easier:
* Do not use **spaces**.
* Do not use **accents** (e.g. replace **é** by **e**).
* Avoid special characters, although **underscores** are a safe option.