Re: [R] extract tables as data.frames from HTML source

2009-04-03 Thread Gabor Grothendieck
If the question is specific to getting stock data from google finance then check out getSymbols.google in the quantmod package. Also note that there exists an r-sig-finance list for questions pertaining to R and finance. On Fri, Apr 3, 2009 at 2:18 AM, Yihui Xie wrote: > Hi, > > I wonder whether

Re: [R] extract tables as data.frames from HTML source

2009-04-03 Thread Dieter Menne
Yihui Xie wrote: > > I wonder whether there is any convenient function (or package) to > extract tables from a HTML page? e.g. from > http://www.google.com/finance/historical?q=SHE:002251 > Try a search on R (I prefer markmail search)

[R] extract tables as data.frames from HTML source

2009-04-02 Thread Yihui Xie
Hi, I wonder whether there is any convenient function (or package) to extract tables from a HTML page? e.g. from http://www.google.com/finance/historical?q=SHE:002251 I know we can readLines('URL'), gsub('...', '...', source), ... and at last get the numbers; I'm writing to ask whether someone ha