Skip to content

Commit 2e55531

Browse files
authored
Merge pull request #2348 from programminghistorian/drjwbaker-R-tab-patch
Update r-basics-with-tabular-data.md
2 parents fcfb9cf + 0c63872 commit 2e55531

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

en/lessons/r-basics-with-tabular-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ R can do more than just simple arithmetic. You can create [objects](https://en.w
112112

113113
R is case sensitive, so be careful that you use the same notation when you use the variables you have assigned (or named) in other actions. See Rasmus Bååth's article, [The State of Naming Conventions in R](https://journal.r-project.org/archive/2012-2/RJournal_2012-2_Baaaath.pdf), for more information on how to best name variables.
114114

115-
To remove a variable from the console, type `rm()` with the variable you want to get rid of inside the brackets, and press *Enter*. To see all of the variables you have assigned, type `ls()` into the console and press *Enter* Ð this will help you avoid using the same name for multiple variables. This is also important because R stores all of the objects you create in its memory, so even if you cannot see a variable named `x` in the console, it may have been created before and you could accidentally overwrite it when assigning another variable.
115+
To remove a variable from the console, type `rm()` with the variable you want to get rid of inside the brackets, and press *Enter*. To see all of the variables you have assigned, type `ls()` into the console and press *Enter* - this will help you avoid using the same name for multiple variables. This is also important because R stores all of the objects you create in its memory, so even if you cannot see a variable named `x` in the console, it may have been created before and you could accidentally overwrite it when assigning another variable.
116116

117117
Here is the list of variables we have created so far:
118118

@@ -201,7 +201,7 @@ sum(Air49)
201201

202202
Therefore, the total number of passengers in 1949 was approximately 1,520,000.
203203

204-
Finally, the 'length()' funciton makes it possible to discern the number of items in a vector:
204+
Finally, the 'length()' function makes it possible to discern the number of items in a vector:
205205

206206
```
207207
length(Air49)

0 commit comments

Comments
 (0)