R/asc.R

Defines functions chr asc

Documented in asc chr

asc <- function(char, simplify=TRUE)
    sapply(char, function(x) strtoi(charToRaw(x),16L), simplify=simplify )

chr <- function(ascii) sapply(ascii, function(x) rawToChar(as.raw(x)) )

Try the gtools package in your browser

Any scripts or data that you put into this service are public.

gtools documentation built on June 26, 2018, 5:01 p.m.