Displaying 3 results from an estimated 3 matches for "u0432".
Did you mean:
0432
2018 Jul 29
2
odd behavior of names
Bugzilla issue 16101 describes another first-list-name-printed-differently
oddity
with the Windows GUI version of R:
> a <- "One is \u043E\u0434\u0438\u043D\nTwo is \u0434\u0432\u0430\n"
> Encoding(a) # expect "UTF-8"
[1] "UTF-8"
> sapply(strsplit(a, "\n")[[1]], charToRaw)[c(1,1,2)]
$`One is ????`
[1] 4f 6e 65 20 69 73 20 d0 be d0 b4 d0
[13] b8 d0 bd
$`One is <U+043E><U+0434><U+0438><U+043D>`
[1] 4f 6e 65...
2018 Jul 30
0
odd behavior of names
...r: kevinushey .. gmail ..
His minimal REPREX was even much simpler:
> list(a = 1, b = 2)
$`a`
[1] 1
$b
[1] 2
Thank you, Bill, for the nice extra example.
Martin Maechler
ETH Zurich and R Core Team
> > a <- "One is \u043E\u0434\u0438\u043D\nTwo is \u0434\u0432\u0430\n"
> > Encoding(a) # expect "UTF-8"
> [1] "UTF-8"
> > sapply(strsplit(a, "\n")[[1]], charToRaw)[c(1,1,2)]
> $`One is ????`
> [1] 4f 6e 65 20 69 73 20 d0 be d0 b4 d0
> [13] b8 d0 bd
>
> $`One is <U+043E><U+0434><...
2018 Jul 29
2
odd behavior of names
The first component name has backticks around it and the second does
not. Though not wrong, it seems inconsistent.
list(a = 1, b = 2)
## $`a`
## [1] 1
##
## $b
## [1] 2
R.version.string
## [1] "R version 3.5.1 Patched (2018-07-02 r74950)"
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com