-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path09-workshop-learning.Rmd
162 lines (115 loc) · 3.7 KB
/
09-workshop-learning.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
---
title: "Ongoing learning"
subtitle: "Session 9"
institute: "NHS-R Community"
output:
xaringan::moon_reader:
css:
- default
- css/nhsr.css
- css/nhsr-fonts.css
lib_dir: libs
seal: false
self_contained: true
nature:
highlightStyle: googlecode
highlightLines: true
highlightLanguage: ["r"]
countIncrementalSlides: false
ratio: "16:9"
includes:
after_body: [css/insert-logo.html]
---
```{r libs, include=FALSE}
library(knitr)
library(magick)
library(tidyverse)
library(xaringan)
library(kableExtra)
library(icons)
library(xaringanExtra)
xaringanExtra::use_panelset()
xaringanExtra::use_clipboard()
xaringanExtra::use_share_again() # need to get the slide button on html view
opts_chunk$set(
echo = TRUE,
eval = FALSE,
message = FALSE,
warning = FALSE,
fig.width = 7.252,
fig.height = 4,
dpi = 300,
dev.args = list(type = "cairo")
)
```
class: title-slide, left, bottom
# `r rmarkdown::metadata$title`
----
## **`r rmarkdown::metadata$subtitle`**
### `r rmarkdown::metadata$author`
### `r rmarkdown::metadata$date`
.right-column[
]
---
class: center
# Ongoing learning
</br> Learning R is not unlike learning a spoken language: </br>
</br> Unfortunately it takes time to build vocab and learn syntax. </br>
</br> Regular (even total) immersion is the best way to progress. </br>
</br>
</br> Will reward you if you can make the investment
---
class: center
# Quick fix
--
# What if you get stuck?
## Google (Stack Overflow) Strategy
---
class: center
# Stack Overflow Strategy
</br> Require vocabulary to describe the problem (which you may not have right away) </br>
</br> There is more than one style of writing R! </br>
</br> Best to find the style that you're already using. </br>
</br>
Beware the date of answer.
---
class: center
# Stack Overflow Strategy
##Example:
[<img class="center" src="img/session10/stack-overflow.PNG"/>](https://stackoverflow.com/questions/8212699/group)
---
# Longer term fixes - books (online and paper)
--
.pull-left[
[<img class="center" src="img/session04/r-for-data-science.PNG"/>](https://r4ds.had.co.nz/)
]
.pull-right[
[<img class="center" src="img/session10/ggplot2-book.PNG"/>](https://ggplot2-book.org/)
]
---
# Longer term fixes - books (online only)
[<img class="center" src="img/session10/big-book-of-r.png"/>](https://www.bigbookofr.com/index.html)
---
# Longer term fixes - blogs
</br> https://rweekly.org/ </br>
</br> https://www.r-bloggers.com/ </br>
</br> [NHS-R Community blog](https://nhsrcommunity.com/blog/) - you can contribute to it too!
---
# Longer term fixes - Social Media
</br> Twitter - [#rstats](https://twitter.com/search?q=%23rstats&src=typed_query&f=live) </br>
</br> [NHS-R Slack](https://nhsrcommunity.slack.com) channel </br>
</br> [Government Data Science](https://govdatascience.slack.com) channel - access only with certain email addresses and for NHS this is nhs.net
---
# File and Project structures
Jenny Bryan's Presentation on [How to Name Files](https://speakerdeck.com/jennybc/how-to-name-files?slide=6) </br>
</br>
Danielle Navarro's Presentation (based on Jenny's) on [Project Structure](https://slides.djnavarro.net/project-structure/#1) supported with [YouTube videos](https://www.youtube.com/playlist?reload=9&list=PLRPB0ZzEYegPiBteC2dRn95TX9YefYFyy)
<iframe src="https://slides.djnavarro.net/project-structure/#1" width="600" height="400" loading="lazy" allowfullscreen></iframe> <script>fitvids('.shareagain', {players: 'iframe'});</script>
---
#### This work is licensed as
</br> Creative Commons
</br> Attribution
</br> ShareAlike 4.0
</br> International
</br> To view a copy of this license, visit
</br> https://creativecommons.org/licenses/by/4.0/