File tree 2 files changed +20
-1
lines changed
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,25 @@ In the 'Environment' window you will also get a table:
144
144
The 'Environment' window allows you to keep track of the objects you have
145
145
created in R.
146
146
147
+
148
+ ::::::::::::::::::::::::::::::::::::::::: callout
149
+
150
+ ## Tip: Use of white space for readability
151
+
152
+ The white space surrounding the assignment operator ` <- ` in the example
153
+ above (` first_value <- 1 ` ) is unnecessary. However, it does make your code
154
+ easier to read. There are several style guides you can follow, and choosing
155
+ one is up to you, but consistency is key!
156
+
157
+ A style guide we recommend is the Tidyverse [ style guide] ( https://style.tidyverse.org/ ) . As they say:
158
+
159
+ "Good coding style is like correct punctuation: you can manage without it, butitsuremakesthingseasiertoread."
160
+
161
+ ::::::::::::::::::::::::::::::::::::::::::::::::::
162
+
163
+
164
+
165
+
147
166
::::::::::::::::::::::::::::::::::::::: challenge
148
167
149
168
## Exercise: Create some objects in R
Original file line number Diff line number Diff line change 4
4
"config.yaml" "b91cd97fa3b408bd1ac0a00e67ab3219" "site/built/config.yaml" "2024-11-05"
5
5
"index.md" "7f9c30e6487338a0c3f8ecc4018873ab" "site/built/index.md" "2024-11-05"
6
6
"episodes/00-introduction.Rmd" "03f55a33cafd3e5f3b407315c509a389" "site/built/00-introduction.md" "2024-11-05"
7
- "episodes/01-r-basics.Rmd" "b45f835c7d4314da15066f1f2cb86b21 " "site/built/01-r-basics.md" "2024-11-09 "
7
+ "episodes/01-r-basics.Rmd" "fac1ed43f7fd4e3cff8c53309e570b44 " "site/built/01-r-basics.md" "2024-11-12 "
8
8
"episodes/02-data-prelude.Rmd" "ab2b1fd3cdaae919f9e409f713a0a8ad" "site/built/02-data-prelude.md" "2024-11-05"
9
9
"episodes/03-basics-factors-dataframes.Rmd" "0bb7c8d7807eea75f14ce8ca3d22febf" "site/built/03-basics-factors-dataframes.md" "2024-11-05"
10
10
"episodes/04-bioconductor-vcfr.Rmd" "10eb69b4697d7ecb9695d36c0d974208" "site/built/04-bioconductor-vcfr.md" "2024-11-05"
You can’t perform that action at this time.
0 commit comments