We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 820b9a8 commit b0ca28bCopy full SHA for b0ca28b
materials/for-loops-R.md
@@ -197,12 +197,10 @@ list.files()
197
```
198
199
* But we just want the data files so we'll add the optional `pattern` argument to only get the files that start with `"locations-"`
200
-* The `*` is a wild card, so this means "starts with locations- and includes anything afterwards"
201
202
203
```r
204
-data_files = list.files(pattern = "locations-*",
205
- full.names = TRUE)
+data_files = list.files(pattern = "locations-")
206
207
208
* Once we have this list we can loop over it count the number of observations in each file
0 commit comments