search for: u0152

Displaying 1 result from an estimated 1 matches for "u0152".

Did you mean: 0152
2013 Dec 13
0
how to use the readBin ?
how to use the readBin ? i want to write the extended ascii character `Œ` into a file named c:/testbin, and read it in the R console ,display it as `Œ` in R console. now i can write it . zz <- file("c:/testbin", "wb") writeBin(charToRaw("\u0152"), zz) close(zz) when i open the file with office(encoding=utf-8),i can see `Œ`,whay i can not read it with readBin? > zz <- file("c:/testbin", "rb") > readBin(zz,raw())->x > x [1] c5 > readBin(zz,character())->x Warning message: In readBin(zz, charac...