stringi (pronounced “stringy”, IPA [strinɡi]) is THE R package for fast, correct, consistent and convenient string/text processing in each locale and any native character encoding. The use of the ICU library gives R users a platform-independent set of functions known to Java, Perl, Python, PHP, and Ruby programmers. The package’s API was inspired by Hadley Wickham’s stringr package.
License: The BSD 3-Clause License (see the LICENSE file for details).
- Fetch & install the latest official CRAN release by calling:
You are encouraged to call
stri_install_check()after install to check whether the ICU library has been successfully installed and whether ICU has detected your native charset and locale properly.
- The current state-of-the-art development version of
stringiis available on GitHub. (Windows users shall of course install Rtools and git. OS X users should have Xcode installed. RStudio IDE is recommended. Package tests are available in the
library('devtools') # call install.packages('devtools') first install_github('Rexamine/stringi')
Refer to the NEWS file for a complete list of changes.
See the INSTALL file for more details.
- Browse on-line manual [for a quite recent development version]
- Compatibility Tables – Compare the functionality provided by
- CRAN entry for
- Issues tracker on
- Browse sources/contribute on
- ICU – International Components for Unicode
- ICU4C API documentation
- Marek Gągolewski [creator, author]
- Bartek Tartanus [author]
The contributions of Marcin Bujarski at the early stage of the package development is fully acknowledged.
Moreover, the help of Giovanni Mazzocco in building the first OS X version of
stringi is much appreciated.
The authors also wish to thank their colleagues (Systems Research Institute, Polish Academy of Sciences) and students (Faculty of Mathematics and Information Science, Warsaw University of Technology) for valuable comments on and extensive testing of the package facilities.