Skip to content

Commit 2e2fbcd

Browse files
author
HeidiSeibold
committed
adding tag to pull
1 parent f51119a commit 2e2fbcd

File tree

2 files changed

+31
-25
lines changed

2 files changed

+31
-25
lines changed

06-Sharing-all-your-analysis.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Now your collaborator can download your image.
102102
Your collaborator should write on their command line:
103103

104104
```
105-
docker pull yourhubusername/gapminder_my_analysis
105+
docker pull yourhubusername/gapminder_my_analysis:firsttry
106106
```
107107

108108
They now have the image of your analysis.

06-Sharing-all-your-analysis.html

+30-24
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta charset="utf-8">
88
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
99
<meta name="generator" content="pandoc" />
10-
<meta name="viewport" content="width=device-width, initial-scale=1">
10+
1111

1212

1313

@@ -38,25 +38,7 @@
3838

3939

4040

41-
42-
</head>
43-
44-
<body>
45-
4641
<style type="text/css">
47-
.main-container {
48-
max-width: 940px;
49-
margin-left: auto;
50-
margin-right: auto;
51-
}
52-
code {
53-
color: inherit;
54-
background-color: rgba(0, 0, 0, 0.04);
55-
}
56-
img {
57-
max-width:100%;
58-
height: auto;
59-
}
6042
h1 {
6143
font-size: 34px;
6244
}
@@ -78,6 +60,30 @@
7860
h6 {
7961
font-size: 12px;
8062
}
63+
.table th:not([align]) {
64+
text-align: left;
65+
}
66+
</style>
67+
68+
69+
</head>
70+
71+
<body>
72+
73+
<style type="text/css">
74+
.main-container {
75+
max-width: 940px;
76+
margin-left: auto;
77+
margin-right: auto;
78+
}
79+
code {
80+
color: inherit;
81+
background-color: rgba(0, 0, 0, 0.04);
82+
}
83+
img {
84+
max-width:100%;
85+
height: auto;
86+
}
8187
.tabbed-pane {
8288
padding-top: 12px;
8389
}
@@ -107,7 +113,8 @@
107113
<div class="fluid-row" id="header">
108114

109115

110-
<h1 class="title">06-Share all your analysis</h1>
116+
117+
<h1 class="title toc-ignore">06-Share all your analysis</h1>
111118

112119
</div>
113120

@@ -122,9 +129,8 @@ <h2>Sorry this tutorial is still in development. This part will be completed soo
122129
<p>Now we just need to write our analysis and add it to our dockerfile.</p>
123130
<p>For this analysis, we will create a plot of life expectancy vs. gdp per capita.</p>
124131
<p>On a new R script let’s write the following analysis.</p>
125-
<pre class="r"><code>library(ggplot2)</code></pre>
126-
<pre><code>## Warning: package 'ggplot2' was built under R version 3.3.0</code></pre>
127-
<pre class="r"><code>library(gapminder)
132+
<pre class="r"><code>library(ggplot2)
133+
library(gapminder)
128134

129135
life_expentancy_plot &lt;- ggplot(data = gapminder) +
130136
geom_point(aes(x = lifeExp, y = gdpPercap, colour = continent)) </code></pre>
@@ -154,7 +160,7 @@ <h2>Sorry this tutorial is still in development. This part will be completed soo
154160
<p>Your image is now available for everyone to use.</p>
155161
<p>Now your collaborator can download your image.</p>
156162
<p>Your collaborator should write on their command line:</p>
157-
<pre><code>docker pull yourhubusername/gapminder_my_analysis</code></pre>
163+
<pre><code>docker pull yourhubusername/gapminder_my_analysis:firsttry</code></pre>
158164
<p>They now have the image of your analysis.</p>
159165
<p>Click to go back to the <a href="http://ropenscilabs.github.io/r-docker-tutorial/">main page</a>.</p>
160166
</div>

0 commit comments

Comments
 (0)