odfTranslate {odfWeave} | R Documentation |
odfTranslate
converts some XML modified characters (such as
>
) to R code (>
). This function also tries to mistake proof the code by anticipating characters that might be in UTF-8 encoding to R compliant characters (e.g. OpenOffice may convert some characters. For example, " will become a UTF-8 character, which R will choke on).
odfTranslate(x, toR = TRUE)
x |
a character vector |
toR |
a logical. If |
a character vector
Max Kuhn and Nathan Coulter
y <- "This is an "interesting" function." cat(odfTranslate(y))