7
7
<meta charset="utf-8">
8
8
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
<meta name="generator" content="pandoc" />
10
- <meta name="viewport" content="width=device-width, initial-scale=1">
10
+
11
11
12
12
13
13
38
38
39
39
40
40
41
-
42
- </head>
43
-
44
- <body>
45
-
46
41
<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
- }
60
42
h1 {
61
43
font-size: 34px;
62
44
}
78
60
h6 {
79
61
font-size: 12px;
80
62
}
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
+ }
81
87
.tabbed-pane {
82
88
padding-top: 12px;
83
89
}
107
113
<div class="fluid-row" id="header">
108
114
109
115
110
- <h1 class="title">06-Share all your analysis</h1>
116
+
117
+ <h1 class="title toc-ignore">06-Share all your analysis</h1>
111
118
112
119
</div>
113
120
@@ -122,9 +129,8 @@ <h2>Sorry this tutorial is still in development. This part will be completed soo
122
129
<p>Now we just need to write our analysis and add it to our dockerfile.</p>
123
130
<p>For this analysis, we will create a plot of life expectancy vs. gdp per capita.</p>
124
131
<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)
128
134
129
135
life_expentancy_plot <- ggplot(data = gapminder) +
130
136
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
154
160
<p>Your image is now available for everyone to use.</p>
155
161
<p>Now your collaborator can download your image.</p>
156
162
<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>
158
164
<p>They now have the image of your analysis.</p>
159
165
<p>Click to go back to the <a href="http://ropenscilabs.github.io/r-docker-tutorial/">main page</a>.</p>
160
166
</div>
0 commit comments