Fast and Portable Character String Processing Facilities
Overview
A collection of character string/text/natural language processing tools for pattern searching (e.g., with 'Java'-like regular expressions or the 'Unicode' collation algorithm), random string generation, case mapping, string transliteration, concatenation, sorting, padding, wrapping, Unicode normalisation, date-time formatting and parsing, and many more. They are fast, consistent, convenient, and - thanks to 'ICU' (International Components for Unicode) - portable across all locales and platforms. Documentation about 'stringi' is provided via its website at https://stringi.gagolewski.com/ and the paper by Gagolewski (2022, doi:10.18637/jss.v103.i02).
Install
Health
- OK13 OK2026-09-25
- ERROR12 OK, 1 ERROR2026-09-18
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 3 earlier changesHide 3 earlier changes
- ERROR12 OK, 1 ERROR2026-06-07
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 102includes a package overview page
- Examples that run
- 96%70 run in a plain check · 2 never run · 1 hold no code
- Exported functions with examples
- 79%
- Documented parameters
- 91%
- Return-value docs
- 100%
- Help pages citing references
- 32%
Downloads
Repository
- PRs merged (all time)
- 66%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/gagolews/stringi on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-18
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-08-01Commits: at least 1 crediting it in the message
- Claude Opus 51 commit · Aug 2026
Dependencies
Installing stringi adds no packages beyond those that come with R.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 382 more dependents and 108 packages that suggest it on CRAN ↗
Code & Tests
People & History
Show 5 peopleHide 5 people
Pick two releases to compare their code metrics.
- 1.8.9Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.8.72025-03-27 · diff ↗
- 1.8.42024-05-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.8.32023-12-11 · diff ↗
- 1.8.22023-11-23 · diff ↗
- 1.8.12023-11-13 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.7.122023-01-11 · diff ↗
- 1.7.82022-07-11 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.7.62021-11-29 · diff ↗
- 1.7.52021-10-04 · diff ↗
- 1.7.42021-08-25 · diff ↗
Show 38 earlier eventsHide 38 earlier events
- 1.7.32021-07-16 · diff ↗
- 1.7.22021-07-14 · diff ↗ ·
added 4 exports
stri_printf, stri_replace_rstr, stri_sprintf, stri_string_format - RR 4.1.0 released · 2021-05-18
- 1.6.22021-05-17 · diff ↗
- 1.6.1
- 1.5.3
- RR 4.0.0 released · 2020-04-24
- 1.4.62020-02-17 · diff ↗
- 1.4.52020-01-11 · diff ↗
- 1.4.42020-01-09 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.4.32019-03-13 · diff ↗ ·
added 9 exports
stri_sub_all<-, stri_omit_empty, stri_omit_empty_na, stri_omit_na, stri_remove_empty_na, stri_remove_na, stri_sub_all, stri_sub_all_replace, stri_sub_replace_all - 1.3.1
- 1.2.42018-07-20 · diff ↗
- 1.2.32018-06-12 · diff ↗
- 1.2.2
- RR 3.5.0 released · 2018-04-23
- 1.1.72018-03-12 · diff ↗
- 1.1.62017-11-17 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.1.52017-04-07 · diff ↗
- 1.1.3
- 1.1.22016-10-01 · diff ↗
- 1.1.12016-05-27 · diff ↗ ·
added 8 exports
stri_subset<-, stri_subset_charclass<-, stri_subset_coll<-, stri_subset_fixed<-, stri_subset_regex<-, stri_c_list, stri_join_list, stri_paste_list - RR 3.3.0 released · 2016-05-03
- 1.0-12015-10-22 · diff ↗
- 0.5-52015-06-29 · diff ↗
- 0.5-42015-06-28 · diff ↗
- 0.5-22015-06-22 · diff ↗ ·
added 18 exports
stri_datetime_add<-, stri_datetime_add, stri_datetime_create, stri_datetime_fields, stri_datetime_format, stri_datetime_fstr, stri_datetime_now, stri_datetime_parse, stri_datetime_symbols, stri_extract_all_boundaries, stri_extract_first_boundaries, stri_extract_last_boundaries, stri_timezone_get, stri_timezone_info, stri_timezone_list, stri_timezone_set, stri_trans_char, stri_width - RR 3.2.0 released · 2015-04-16
- 0.4-12014-12-14 · diff ↗ ·
removed 3 exports
stri_extract_words, stri_locate_boundaries, stri_locate_wordsadded 13 exports
stri_extract_all_fixed, stri_extract_all_words, stri_extract_first_fixed, stri_extract_first_words, stri_extract_last_fixed, stri_extract_last_words, stri_locate_all_boundaries, stri_locate_all_words, stri_locate_first_boundaries, stri_locate_first_words, stri_locate_last_boundaries, stri_locate_last_words, stri_opts_fixed - 0.3-12014-11-06 · diff ↗ ·
removed 9 exports
%!=%, %!==%, %+%, %<%, %<=%, %==%, %===%, %>%, %>=%added 27 exports
%s!=%, %s!==%, %s+%, %s<%, %s<=%, %s==%, %s===%, %s>%, %s>=%, stri_count_boundaries, stri_count_words, stri_endswith, stri_endswith_charclass, stri_endswith_coll, stri_endswith_fixed, stri_list2matrix, stri_opts_brkiter, stri_rand_lipsum, stri_startswith, stri_startswith_charclass, stri_startswith_coll, stri_startswith_fixed, stri_subset, stri_subset_charclass, stri_subset_coll, stri_subset_fixed, stri_subset_regex - 0.2-52014-05-16 · diff ↗
- 0.2-42014-05-15 · diff ↗
- 0.2-32014-05-14 · diff ↗ ·
removed 13 exports
stri_enc_isnfc, stri_enc_isnfd, stri_enc_isnfkc, stri_enc_isnfkc_casefold, stri_enc_isnfkd, stri_enc_nfc, stri_enc_nfd, stri_enc_nfkc, stri_enc_nfkc_casefold, stri_enc_nfkd, stri_extract_all_fixed, stri_extract_first_fixed, stri_extract_last_fixedadded 66 exports
%!=%, %!==%, %<%, %<=%, %==%, %===%, %>%, %>=%, %stri!=%, %stri!==%, %stri+%, %stri<%, %stri<=%, %stri==%, %stri===%, %stri>%, %stri>=%, stri_cmp_eq, stri_cmp_equiv, stri_cmp_ge, stri_cmp_gt, stri_cmp_le, stri_cmp_lt, stri_cmp_neq, stri_cmp_nequiv, stri_count_coll, stri_detect_coll, stri_duplicated, stri_duplicated_any, stri_enc_mark and 36 more - RR 3.1.0 released · 2014-04-10
- 0.1-252014-03-12
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2014-03-12
- Total releases
- 40 / 12 yrs
- License
- file LICENSE
- Minimum R
- ≥ 3.4
- Download size
- 11 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("stringi")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v103.i02.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.