Skip to content

Commit

Permalink
Update 01-starting-with-data.Rmd
Browse files Browse the repository at this point in the history
Earlier the participants were told to create script.R but here the lesson expects them to run by only pressing ENTER which does not work in the script.R file. We have to type CTRL+ENTER. Added changes to accommodate for both scenarios.
  • Loading branch information
annajiat authored Aug 30, 2023
1 parent be3575a commit 563be98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/01-starting-with-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Once a variable is created, we can use the variable name to refer to the value i

<img src="fig/tag-variables.svg" alt="Variables as Tags" />

To see the value of a variable, we can print it by typing the name of the variable and hitting <kbd>Return</kbd> (or <kbd>Enter</kbd>).
To see the value of a variable, we can print it by typing the name of the variable and hitting <kbd>CTRL + Return</kbd> (or <kbd>CTRL + Enter</kbd>) while working in the Script.R file in the editor which is recommended. If we are working in the console directly, we need to hit <kbd>Return</kbd> (or <kbd>Enter</kbd>).
In general, R will print to the console any object returned by a function or operation *unless* we assign it to a variable.

```{r}
Expand Down

0 comments on commit 563be98

Please sign in to comment.