[R] Inverse of encodeString

Alberto Monteiro albmont at centroin.com.br
Tue Jun 5 15:10:47 CEST 2007


What is the inverse of encodeString?

For example, \u1 is some Unicode symbol. If I do

s <- encodeString("\u1")

then s will be the string "\001". But anything I do
with s, will not return the Unicode that corresponds to \u1:

cat(s, "\n") # prints \001
cat("\u1", "\n")  # prints y with umlaut

Alberto Monteiro



More information about the R-help mailing list