R, Statistics

Tag Archives: read

First step on GIS with R

The PM 2.5 checker written by R has been working nicely for me.  I put a shortcut icon of this small script on my desktop PC, to check the air … Continue reading

January 17, 2016 · 3 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

Fix the encode of data frame

People in English speaking countries may not understand, but the character encoding is indeed troublesome. Fortunately, the R have iconv() function for converting text encoding, but what is for data … Continue reading

April 15, 2013 · Leave a comment

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

How to get a data frame from html pages directly in R

Chinese air polution is quite serious recently.  At last, in this spring, the air polution has been invading Japan.  Many municipal agencies in Japan have began to observe the pollutant, … Continue reading

March 26, 2013 · 6 Comments