search for: wind2

Displaying 2 results from an estimated 2 matches for "wind2".

Did you mean: win32
2008 Dec 31
1
Chinese characters encoding problem with XML
XML is a good tool reading data from web within R. But I wonder how could get the encoding correctly. library(XML) url <- 'http://www.szitic.com/docc/jz-lmzq.html' xml <- htmlTreeParse(url, useInternal=TRUE) q <- "//tbody/tr/td" dat <- unlist(xpathApply(xml, q, xmlValue)) df <- as.data.frame(t(matrix(dat, 4))) dt<-as.character(df[15,1]) The first column of df
2008 Nov 22
0
Where is Hong Kong in maps?
It seems that there is no Hong Kong in maps' world cities. >world.cities[substr(world.cities$name,1,3)=="Hon",] name country.etc pop lat long capital 14623 Honami Japan 26040 33.61 130.68 0 14624 Honaz Turkey 8073 37.75 29.27 0 14625 Honda Colombia 28055 5.19 -74.75 0 14626