RosettaCodeData/Task/Character-codes/R/character-codes.r

3 lines
92 B
R

ascii <- as.integer(charToRaw("hello world")); ascii
text <- rawToChar(as.raw(ascii)); text