Hello J.R.M. Hosking,
charToRaw() works perfectly, thank you:
> charToRaw(as.character(moose[1, "V3"]))
[1] 24 38 38 30 2c 33 37 30 c2 a0
gsub("[[:space:]]", "", ...) did not remove them, but now I know what they
are (hex: c2 a0) I can remove them with gsub() by:
> gsub("[$,\xc2\xa0]", "", as.
On 2010-08-23 11:03, Mark Breman wrote:
Hello everyone,
I am reading a HTML table from a website with readHTMLTable() from the XML
package:
library(XML)
moose = readHTMLTable("http://www.decisionmoose.com/Moosistory.html";,
header=FALSE, skip.rows=c(1,2), trim=TRUE)[[1]]
moose
Hello everyone,
I am reading a HTML table from a website with readHTMLTable() from the XML
package:
> library(XML)
> moose = readHTMLTable("http://www.decisionmoose.com/Moosistory.html";,
header=FALSE, skip.rows=c(1,2), trim=TRUE)[[1]]
> moose
V1
3 matches
Mail list logo