forked from jsta/r-docker-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path04-commit.Rmd
36 lines (28 loc) · 1.06 KB
/
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
30
31
32
33
34
---
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
```
## Sorry this tutorial is still in development. The rest of this part will be available soon.
Next: Go to [Lesson 05 Dockerhub](05-Dockerhub.html) or back to the
[main page](http://ropenscilabs.github.io/r-docker-tutorial/).