-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy path04-commit.Rmd
35 lines (25 loc) · 861 Bytes
/
04-commit.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
---
title: "Committing Locally"
output:
dcTemplate::dc_lesson_template:
fig_width: 6
fig_height: 6
highlight: pygments
---
```{r knitr_init, echo = FALSE, cache = FALSE}
library(knitr)
## Global options
options(max.print = "75")
opts_chunk$set(cache = TRUE,
prompt = FALSE,
tidy = TRUE,
comment = "> #",
message = FALSE,
warning = FALSE)
opts_knit$set(width = 75)
```
## Committing Locally
If you installed R libraries with RStudio server, closing it after would lose your installations. When you login back in again, your installations will not be there anymore. To avoid this, you should open up a new terminal and commit your changes locally, as illustrated below.
```{r commit-locally, eval = FALSE}
docker commit -m "built megahit" fa1bf23148a5 megahit
```