You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/02-rstudio.qmd
+13-67Lines changed: 13 additions & 67 deletions
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,17 @@ In this tutorial, we will provide a brief introduction to RStudio using the Jupy
17
17
18
18
:::
19
19
20
-
## Open RStudio in the JupyterHub
20
+
## Open RStudio
21
21
22
-
1. Login the JupyterHub
22
+
You can open RStudio from your computer or in the JupyterHub. We are using RStudio version 2024.04.2 Build 764 on the JupyterHub. Go to Help > About RStudio to check your version. You need to have a relatively updated version (late 2023 at least).
23
+
24
+
### If using the JupyterHub
25
+
26
+
1. Login the [NMFS Openscapes JupyterHub](https://nmfs-openscapes.2i2c.cloud)
23
27
2. Click on the RStudio button when the Launcher appears
24
28

25
-
3. Look for the browser tab with the RStudio icon
29
+
30
+
3. Look for the browser tab with the RStudio icon.
26
31
27
32
## Basic Navigation
28
33
@@ -77,9 +82,7 @@ Look for the Upload button in the Files tab of the bottom right panel.
77
82
78
83
## Creating files
79
84
80
-
When you start your server, you will have access to your own virtual drive space. No other users will be able to see or access your files. You can upload files to your virtual drive space and save files here. You can create folders to organize your files. You personal directory is `home/rstudio`. Everyone has the same home directory but your files are separate and cannot be seen by others.
81
-
82
-
*Python users: If you open a Python image instead of the R image, your home is `home/jovyan`.*
85
+
When you start your server, you will have access to your own virtual drive space. No other users will be able to see or access your files. You can upload files to your virtual drive space and save files here. You can create folders to organize your files. Your personal directory is `home/rstudio` or `home/jovyan`. Everyone has the same home directory but your files are separate and cannot be seen by others.
83
86
84
87
There are a number of different ways to create new files. Let's practice making new files in RStudio.
85
88
@@ -111,77 +114,20 @@ C, 100, 200
111
114
112
115
3. Click the save icon (above your new file) to save your csv file
113
116
114
-
### A Rmarkdown document
117
+
### A Quarto document
115
118
116
119
Now let's create some more complicated files using the RStudio template feature.
117
120
118
-
1. From the upper left, click File -> New File -> RMarkdown
121
+
1. From the upper left, click File -> New File -> Quarto
119
122
2. Click "Ok" at the bottom.
120
-
3. When the file opens, click Knit (icon at top of file).
121
-
4. It will ask for a name. Give it one and save.
122
-
5. You file will render into html.
123
-
124
-
[Reference sheet for writing in RMarkdown](https://www.rstudio.com/wp-content/uploads/2015/03/rmarkdown-reference.pdf) or go to Help > Markdown Quick Reference
125
-
126
-
### A Rmarkdown presentation
127
-
128
-
1. From the upper left, click File -> New File -> RMarkdown
129
-
2. Click "Presentation" on left of the popup and click "Ok" at the bottom.
130
-
3. When the file opens, click Knit (icon at top of file).
123
+
3. When the file opens, click Render (icon at top of file).
0 commit comments