Update text related to autocompletion

Also fixes incorrect conjugation for 'trigger'
This commit is contained in:
robinlovelace 2015-11-07 15:26:47 +00:00
parent 6cc8b759a2
commit 7e8d4fafe1
1 changed files with 2 additions and 2 deletions

View File

@ -61,13 +61,13 @@ Base R contains many functions to work with strings but we'll generally avoid th
nchar(NA)
```
Instead we'll use functions from stringr. These have more evocative names, and all start with `str_`:
Instead we'll use functions from stringr. These have more intuitive names, and all start with `str_`:
```{r}
str_length(NA)
```
The common `str_` prefix is particularly useful if you use RStudio, because typing `str_` trigger autocomplete, so you can easily see all of the stringr functions.
The common `str_` prefix is particularly useful if you use RStudio, because typing `str_` will trigger autocomplete, allowing you to see all stringr functions.
### Combining strings