R, Statistics

Tag Archives: encode

Pitfall of XML package: to know the cause

This is the sequel to the previous report “issues specific to cp932 locale, Japanese Shift-JIS, on Windows“.  In this report, I will dig the issues deeper to find out what … Continue reading

February 6, 2016 · 2 Comments

Pitfall of XML package: issues specific to cp932 locale, Japanese Shift-JIS, on Windows

CRAN package XML has something wrong at parsing html pages encoded in cp932 (shift-jis).  In this report, I will show these issues and also their solutions which is workable at … Continue reading

January 31, 2016 · 4 Comments

Write file as UTF-8 encoding in R for Windows

While the R uses UTF-8 encoding as default on Linux and Mac OS, the R for Windows does not use UTF-8 as default. So reading and writing UTF-8 files are … Continue reading

April 17, 2013 · 4 Comments

Bad case for readHTMLTable function of package XML

In the previous article, the readHTMLTable function worked perfectly to get the PM 2.5 data frame from a web page of Ibaraki prefecture.  So then I tried another web, a … Continue reading

April 7, 2013 · Leave a comment