search for: xe7ile

Displaying 3 results from an estimated 3 matches for "xe7ile".

2014 Feb 03
1
String Vector Encoding
...CHARSXP, rules exists to adjust the read string for string encoding. Q1. I couldn't find where the encoding of the elements of the string vector are written? Is it when writeItem writes out the attributes of the item? But i couldn't find encoding in the attributes field x <- "fa\xE7ile" Encoding(x) <- "latin1" xx <- iconv(x, "latin1", "UTF-8") y=c(x,xx) attributes(y) NULL Apologies if this has been asked before Regards Saptarshi [[alternative HTML version deleted]]
2020 May 23
1
base::order breaking change in R-devel
...indows in R-devel. Code below yields different results on R 4.0.0 and R-devel (2020-05-22 r78545). I haven't found any info about that change in NEWS. Was the change intentional? Sys.setlocale("LC_CTYPE","C") Sys.setlocale("LC_COLLATE","C") x1 = "fa\xE7ile" Encoding(x1) = "latin1" x2 = iconv(x1, "latin1", "UTF-8") base::order(c(x2,x1,x1,x2)) Encoding(x2) = "unknown" base::order(c(x2,x1,x1,x2)) # R 4.0.0 base::order(c(x2,x1,x1,x2)) #[1] 1 4 2 3 Encoding(x2) = "unknown" base::order(c(x2,x1,x1,x2))...
2007 Jul 17
1
Unable to build with working iconv support on Solaris9/x86
...ng it in just in case. Anyway, with the environment variables CFLAGS and LDFLAGS set as above, the process gets through configure and make successfully, but fails 'make check' trying to do a conversion to "latin1" > ## x is intended to be in latin1 > x <- "fa\xE7ile" > Encoding(x) [1] "unknown" > Encoding(x) <- "latin1" > x [1]Error: unsupported conversion Execution halted ldd -s bin/exec/R confirms that R gets it's iconv from /usr/local/ apps/libiconv-1.11/lib/libiconv.so.2 as expected ldd -s bin/exec/R [snip]...