Skip to content
Back to formatted view

Raw Message

Message-ID: <vckfbv4fgkl299c7ovqv267s3tc00q6prg@4ax.com>
Date: 2003-05-06T15:17:10Z
From: Duncan Murdoch
Subject: how to read a web page and extract an html table?
In-Reply-To: <20030506143129.33487.qmail@web12105.mail.yahoo.com>

On Tue, 6 May 2003 07:31:29 -0700 (PDT), you wrote in message
<20030506143129.33487.qmail at web12105.mail.yahoo.com>:

>I want to extract the table from the html file. 
>Is there a function html2R, the opposite of R2html? 
>How should I do this? 

I don't think there is anything that does that, but the XML package
(from CRAN) contains a function called htmlTreeParse should get you
partway there.

Duncan Murdoch