Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

unused_letters

Find letters not used in strings


Description

Returns letters not used in strings

Usage

unused_letters(s, n = 1, avoid_strifrtf_internal = TRUE,
  as_number = FALSE, as_vector = FALSE)

Arguments

s

character vector

n

number of letters to return

avoid_strifrtf_internal

If TRUE, letters used in the package's internal process are also regarded as "used".

as_number

if TRUE, return unicode numbers instead of letters itself

as_vector

if FALSE (and as_number is FALSE), return a single concatenated character, otherwise returns a character vector

Details

This function can be useful when some special characters must be temporarily converted to another letter without being confused with the same letters used elsewhere.

Letters are first searched from \u0001 upto \uffff. Do not specify too large n; An error is raised if a sufficient number of unsed letters are not found.

Value

unsed characters, format depends on as_number and as_vector arguments


striprtf

Extract Text from RTF File

v0.5.2
MIT + file LICENSE
Authors
Kota Mori [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.