Description Usage Arguments Value Author(s) Examples
is.African returns TRUE if a UTF-8 string is within the African Unicode ranges
1 | is.African(utf8char)
|
utf8char |
UTF-8 string |
logic
Jose' Gama
1 2 3 4 5 | fileIn<-system.file('extdata/TextAfrican.txt', package='utf8latex')
# read a UTF-8 string from a file
x <- scan(file=fileIn,'character', fileEncoding='UTF-8')
# check if every character is within the African Unicode ranges
lapply(unlist(strsplit(x,'')), is.African)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.