f.jamitzky wrote:
> 
> You can use htmlTreeParse and xpathApply from the XML library.
> something like:
> 
> xpathApply( htmlTreeParse("http://blabla";, useInt=T), "//td", function(x)
> xmlValue(x))
> 
> should do it.
> 

Thank you, any further ideas how to transform the result into a matrix,
something that R easily could search and find values, i want to use the
imported data in various calculations (Rmetrics) and hope to automate the
process somewhat.

Another thing, the htmlTreeParse takes a while to complete, for a 15 row
table it takes about 10-15 seconds, considering i am planning to use this
method on multiple (15-20) tables with up to 1000 rows it might not be the
ideal solution?
-- 
View this message in context: 
http://www.nabble.com/Read-HTML-table-tf4832010.html#a13826367
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to