From 1a38049f2d6b7c334a28df9d9189aef901b0db51 Mon Sep 17 00:00:00 2001 From: Lawrence Wu Date: Sat, 7 Nov 2015 21:20:47 -0800 Subject: [PATCH] Update strings.Rmd typo in the stringi package section, should read stringr --- strings.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strings.Rmd b/strings.Rmd index 7462de6..39476c4 100644 --- a/strings.Rmd +++ b/strings.Rmd @@ -816,7 +816,7 @@ There are a few other functions in base R that accept regular expressions: stringr is built on top of the __stringi__ package. stringr is useful when you're learning because it exposes a minimal set of functions, that have been carefully picked to handle the most common string manipulation functions. stringi on the other hand is designed to be comprehensive. It contains almost every function you might ever need. stringi has `length(ls("package:stringi"))` functions to stringr's `length(ls("package:stringr"))`. -So if you find yourself struggling to do something that doesn't seem natural in stringr, it's worth taking a look at stringi. The use of the two packages are very similar because stringi was designed to mimic stringi's interface. The main difference is the prefix: `str_` vs `stri_`. +So if you find yourself struggling to do something that doesn't seem natural in stringr, it's worth taking a look at stringi. The use of the two packages are very similar because stringr was designed to mimic stringi's interface. The main difference is the prefix: `str_` vs `stri_`. ### Encoding