-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.Rmd
181 lines (123 loc) · 7.4 KB
/
index.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
---
title: "RStudio Tips"
subtitle: "and maybe tricks"
author: "Your guide: Jeremy Allen"
date: "Oct 2021 - updated `r Sys.Date()`"
output:
xaringan::moon_reader:
css: ["default", "css/my-theme.css", "css/my-fonts.css"]
seal: false
lib_dir: libs
nature:
ratio: '16:9'
highlightStyle: dracula
highlightLines: true
countIncrementalSlides: false
beforeInit: "macros.js"
editor_options:
chunk_output_type: console
---
```{r setup, include=FALSE}
options(htmltools.dir.version = FALSE, eval = TRUE)
```
```{r metathis, echo=FALSE}
library(metathis)
meta() %>%
meta_name("github-repo" = "jeremy-allen/rstudio-tips") %>%
meta_social(
title = "RStudio Tips and Tricks",
description = paste(
"RStudio Tips and Tricks",
"Tips and tricks in the RStudio IDE, tidyverse, and beyond",
"By Jeremy Allen, your guide, not guru"
),
url = "https://jeremy-allen.github.io/rstudio-tips/",
image = "https://github.com/jeremy-allen/rstudio-tips/blob/main/images/title-card.png",
image_alt = paste(
"Title slide of RStudio Tips and Tricks.",
"A slide deck covering tips and tricks in the RStudio IDE, tidyverse, and beyond.",
"It also has an image of a skateboarder doing a trick."
),
og_type = "website",
og_author = "Jeremy Allen",
twitter_card_type = "summary_large_image",
twitter_creator = "@jeremy_data",
twitter_site = "@jeremy_data"
)
```
class: title-slide, left, top
# `r rmarkdown::metadata$title`
### `r rmarkdown::metadata$subtitle`
#### `r rmarkdown::metadata$author`
<br>
#### `r Sys.Date()`
<br>
##### `r fontawesome::fa("link", "white")` Slides [https://jeremy-allen.github.io/rstudio-tips/#1](https://jeremy-allen.github.io/rstudio-tips/#1)
##### `r fontawesome::fa("github", "white")` Code [github.com/jeremy-allen/rstudio-tips](https://github.com/jeremy-allen/rstudio-tips)
<span style='color:white;'>Slides released under</span> [CC-BY 2.0](https://creativecommons.org/licenses/by/2.0/) <svg aria-hidden="true" role="img" viewBox="0 0 496 512" style="height:1em;width:0.97em;vertical-align:-0.125em;margin-left:auto;margin-right:auto;font-size:inherit;fill:white;overflow:visible;position:relative;"><path d="M245.83 214.87l-33.22 17.28c-9.43-19.58-25.24-19.93-27.46-19.93-22.13 0-33.22 14.61-33.22 43.84 0 23.57 9.21 43.84 33.22 43.84 14.47 0 24.65-7.09 30.57-21.26l30.55 15.5c-6.17 11.51-25.69 38.98-65.1 38.98-22.6 0-73.96-10.32-73.96-77.05 0-58.69 43-77.06 72.63-77.06 30.72-.01 52.7 11.95 65.99 35.86zm143.05 0l-32.78 17.28c-9.5-19.77-25.72-19.93-27.9-19.93-22.14 0-33.22 14.61-33.22 43.84 0 23.55 9.23 43.84 33.22 43.84 14.45 0 24.65-7.09 30.54-21.26l31 15.5c-2.1 3.75-21.39 38.98-65.09 38.98-22.69 0-73.96-9.87-73.96-77.05 0-58.67 42.97-77.06 72.63-77.06 30.71-.01 52.58 11.95 65.56 35.86zM247.56 8.05C104.74 8.05 0 123.11 0 256.05c0 138.49 113.6 248 247.56 248 129.93 0 248.44-100.87 248.44-248 0-137.87-106.62-248-248.44-248zm.87 450.81c-112.54 0-203.7-93.04-203.7-202.81 0-105.42 85.43-203.27 203.72-203.27 112.53 0 202.82 89.46 202.82 203.26-.01 121.69-99.68 202.82-202.84 202.82z"/></svg><svg aria-hidden="true" role="img" viewBox="0 0 496 512" style="height:1em;width:0.97em;vertical-align:-0.125em;margin-left:auto;margin-right:auto;font-size:inherit;fill:white;overflow:visible;position:relative;"><path d="M314.9 194.4v101.4h-28.3v120.5h-77.1V295.9h-28.3V194.4c0-4.4 1.6-8.2 4.6-11.3 3.1-3.1 6.9-4.7 11.3-4.7H299c4.1 0 7.8 1.6 11.1 4.7 3.1 3.2 4.8 6.9 4.8 11.3zm-101.5-63.7c0-23.3 11.5-35 34.5-35s34.5 11.7 34.5 35c0 23-11.5 34.5-34.5 34.5s-34.5-11.5-34.5-34.5zM247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3z"/></svg>
<div style = "position: absolute;top: 0px;right: 0;"><img src="https://raw.githubusercontent.com/jeremy-allen/rstudio-tips/main/images/board_at_sunset.jpg" alt="A person jumping their skateboard onto a stair handrail at sunset." width="525"></img></div>
<div style = "position: absolute;bottom: 0;right: 5px;font-size: .25rem;color: #fff;z-index: 999;"><p>Photo by <a href="https://unsplash.com/@nadineshaabana?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Nadine Shaabana</a> on <a href="https://unsplash.com/s/photos/tricks?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a></p></div>
---
layout: true
<div class="my-footer"><span>https://jeremy-allen.github.io/rstudio-tips/#1</span></div>
---
.pull-left[
![:scale 95%](https://raw.githubusercontent.com/jeremy-allen/rstudio-tips/main/images/novice_vs_experienced.png)
]
.pull-right[
## R is a journey
]
---
# Who's on first?
<br>
.pull-left[
### R - the programming language
### RStudio - the company
### RStudio - the IDE
]
<div style = "position: absolute;top: 0px;right: 0;"><img src="https://raw.githubusercontent.com/jeremy-allen/rstudio-tips/main/images/r_rstudio_ide.png" alt="stached logos for R, RStudio, and the RStudio IDE." width="485"></img></div>
---
# Let's go to the IDE and dig in!
<br>
.pull-left[
#### IDE
#### Snippets
#### Functions
#### Search
#### Index
#### What are tips and tricks anyway?
]
.pull-right[
#### We will spend the next few hours in the IDE, then return here for some final insights!
]
---
class: inverse center middle
# What are tips and tricks?
---
<div style = "position: absolute;top: 0px;right: 0;"><img src="https://raw.githubusercontent.com/jeremy-allen/rstudio-tips/main/images/skateboard_in_pool_sunset.png" alt="A person jumping their skateboard at the skate park at sunset." width="525"></img></div>
<div style = "position: absolute;bottom: 0;right: 5px;font-size: .25rem;"><p>Photo by <a href="https://unsplash.com/@nadineshaabana?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Nadine Shaabana</a> on <a href="https://unsplash.com/s/photos/tricks?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a></p></div>
## They are perspectives
--
On the same thing
--
But feel different
--
Tips and tricks are keys that unlock doors
to skills or new ways of doing something.
They are actually the same key.
To the novice the key feels enchanted, like a trick.
To the the expert the key feels routine, like a tip.
---
Expertise is the state of having been taught and having learned to forget everything irrelevant to a process. Expertise is having the right keys at the right time. Gaining that expertise and those keys is a social learning process.
If the sociology and philosophy of tips and tricks interests you:
Zerubavel, Eviatar. Hidden in Plain Sight: The Social Structure of Irrelevance. United Kingdom: Oxford University Press, 2015.
Galison, Peter., Daston, Lorraine. Objectivity. United States: Zone Books, 2021.
---
class: title-slide, left, top
# R is a journey
#### `r rmarkdown::metadata$author`
<br>
##### `r fontawesome::fa("link", "white")` Slides [https://jeremy-allen.github.io/rstudio-tips/#1](https://jeremy-allen.github.io/rstudio-tips/#1)
##### `r fontawesome::fa("github", "white")` Code [github.com/jeremy-allen/rstudio-tips](https://github.com/jeremy-allen/rstudio-tips)
##### `r fontawesome::fa("twitter", "white")` Twitter [@jeremy_data](https://twitter.com/jeremy_data)
##### `r fontawesome::fa("envelope", "white")` Email [jeremy.allen@rstudio.com](jeremy.allen@rstudio.com)