search for: u0430

Displaying 7 results from an estimated 7 matches for "u0430".

Did you mean: 0430
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 20 69...
2017 May 09
2
source(), parse(), and foreign UTF-8 characters
...le.fas.harvard.edu/~izahn/posts/reading-data-with-non-native-encoding-in-r/ [4] http://stackoverflow.com/search?tab=votes&q=%5br%5d%20encoding%20windows%20is%3aquestion # Use one of the following: id <- "Gl\u00fcck" id <- "\u5e78\u798f" id <- "\u0441\u0447\u0430\u0441\u0442\u044c\u0435" id <- "\ud589\ubcf5" file_contents <- paste0('"', id, '"') Encoding(file_contents) raw_file_contents <- charToRaw(file_contents) path <- tempfile(fileext = ".R") writeBin(raw_file_contents, path) file.size(pat...
2018 Jul 30
0
odd behavior of names
...inushey .. 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><U+0438...
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
2008 May 30
1
Unicode characters (R 2.7.0 on Windows XP SP3 and Hardy Heron)
...as a Unicode character, too): russ.char.yes<-"[\u0401\u0410-\u044F\u0451]" # all Russian Cyrillics russ.char.no<-"[^\u0401\u0410-\u044F\u0451]" # other characters russ.char.capit<-"[\u0410-\u042F\u0451]" # capital Russian Cyrillics russ.char.small<-"[\u0430-\u044F\u0401]" # small Russian Cyrillics # I can do that all on Linux, but this arises in a context where # many other character processing issues are explained for Mac, # Linux, *and* Windows, and I'd hate to have to say "this one # thing, you can't do on Windows" One Lin...
2017 May 09
0
source(), parse(), and foreign UTF-8 characters
...with-non-native-encoding-in-r/ > > [4] > http://stackoverflow.com/search?tab=votes&q=%5br%5d%20encoding%20windows%20is%3aquestion > > > > # Use one of the following: > id <- "Gl\u00fcck" > id <- "\u5e78\u798f" > id <- "\u0441\u0447\u0430\u0441\u0442\u044c\u0435" > id <- "\ud589\ubcf5" > > file_contents <- paste0('"', id, '"') > Encoding(file_contents) > raw_file_contents <- charToRaw(file_contents) > > path <- tempfile(fileext = ".R") > writeBin(...
2017 May 09
1
source(), parse(), and foreign UTF-8 characters
...4] >> http://stackoverflow.com/search?tab=votes&q=%5br%5d%20encoding%20windows%20is%3aquestion >> >> >> >> >> # Use one of the following: >> id <- "Gl\u00fcck" >> id <- "\u5e78\u798f" >> id <- "\u0441\u0447\u0430\u0441\u0442\u044c\u0435" >> id <- "\ud589\ubcf5" >> >> file_contents <- paste0('"', id, '"') >> Encoding(file_contents) >> raw_file_contents <- charToRaw(file_contents) >> >> path <- tempfile(fileext = &q...