stri_install_check {stringi} | R Documentation |
These functions are responsible for checking and guaranteeing that the ICU data library (icudt) is available and that stringi is ready to use.
These functions are deprecated and will no longer be available in future stringi releases.
stri_install_check(silent = FALSE) stri_install_icudt(check = TRUE, outpath = NULL, inpath = NULL)
silent |
suppress diagnostic messages |
check |
enable |
outpath |
path to install icudt to. If |
inpath |
path to search icudt archive in.
If |
ICU makes use of a wide variety of data tables to provide many of its services. Examples include converter mapping tables, collation rules, transliteration rules, break iterator rules and dictionaries, and other locale data.
Without the ICU data library (icudt) many stringi features will not be available. icudt size is approx. 10-30 MB.
stri_install_check()
tests whether some ICU services
are available. If they are not, it is most likely due to
unavailable ICU data library.
stri_install_icudt()
downloads and installs the ICU data library
specific for your platform (little/big-endian). The downloaded
file will be decompressed into the directory where the package has been
installed, see find.package
, so make sure
you have sufficient write permissions.
These functions return a logical value, invisibly.
TRUE
denotes that the requested operation has been completed
successfully.
ICU Data – ICU User Guide, http://userguide.icu-project.org/icudata
stri_install_check()