From cf1a72f7a6754e7e9186072cf34fef4beb23b6bf Mon Sep 17 00:00:00 2001 From: hadley Date: Mon, 3 Oct 2016 07:11:49 -0500 Subject: [PATCH] The underscore is silent. Fixes #316 --- workflow-basics.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow-basics.Rmd b/workflow-basics.Rmd index 2f751ec..2812a70 100644 --- a/workflow-basics.Rmd +++ b/workflow-basics.Rmd @@ -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.