The underscore is silent.

Fixes #316
This commit is contained in:
hadley 2016-10-03 07:11:49 -05:00
parent 2c662ff663
commit cf1a72f7a6
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ All R statements where you create objects, __assignment__ statements, have the s
object_name <- value
```
When reading that code say "object_name gets value" in your head.
When reading that code say "object name gets value" in your head.
You will make lots of assignments and `<-` is a pain to type. Don't be lazy and use `=`: it will work, but it will cause confusion later. Instead, use RStudio's keyboard shortcut: Alt + - (the minus sign). Notice that RStudio automagically surrounds `<-` with spaces, which is a good code formatting practice. Code is miserable to read on a good day, so giveyoureeyesabreak and use spaces.