Skip to content

Commit

Permalink
Decided to not going into depth on assignment operators but will addr…
Browse files Browse the repository at this point in the history
…ess this issue via style guide arguemnt. Fixes #301
  • Loading branch information
ytakemon committed Nov 12, 2024
1 parent 4476590 commit 9954090
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions episodes/01-r-basics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,9 @@ Here are some important details about naming objects in R.
a colored highlight or RStudio gives you a suggested autocompletion you have
chosen a name that has a reserved meaning.
- **Use the recommended assignment operator**: In R, we use '\<- ' as the
preferred assignment operator. '=' works too, but is most commonly used in
passing arguments to functions (more on functions later). There is a shortcut
preferred assignment operator, which is recommended by the Tidyverse
[style guide](https://style.tidyverse.org/) discussed above. '=' works too, but is most
commonly used in passing arguments to functions (more on functions later). There is a shortcut
for the R assignment operator:
- Windows execution shortcut: <KBD>Alt</KBD>\+<KBD>\-</KBD>
- Mac execution shortcut: <KBD>Option</KBD>\+<KBD>\-</KBD>
Expand Down

0 comments on commit 9954090

Please sign in to comment.