Displaying 1 result from an estimated 1 matches for "1e21".
Did you mean:
121
2011 Jul 14
1
Export Unicode characters from R
...acters from R. Below is an example
where the Unicode character is correctly rendered as long as I am stay
within R. When I export it, the character appears only with its basic
code, and the same happens when I import it back into R . I'm using R
2.13.1 in Windows XP.
> funny.g <- "\u1E21"
> funny.g
[1] "?"
> data.frame (funny.g) -> funny.g
> funny.g$funny.g
[1] ?
Levels: <U+1E21>
> write.table (funny.g, file = "C:/~funny.g.txt", col.names = FALSE, row.names = FALSE, quote = FALSE, fileEncoding = "UTF-8")
> read.table (...