Message-ID: <20030506143129.33487.qmail@web12105.mail.yahoo.com>
Date: 2003-05-06T14:31:29Z
From: Adi Humbert
Subject: how to read a web page and extract an html table?
Hello all,
I want to read a table from a given web page.
If I do something like
> str="http://www...." # this is the web address
> aux1 <- url(str,open="rt")# open connection
> aux2 <- readLines(aux1) # read web page
aux2 contains the html file.
I want to extract the table from the html file.
Is there a function html2R, the opposite of R2html?
How should I do this?
Thanks,
Adrian