Extracting html tables from website <p>I am trying to use XML, RCurl package to read some html tables of the following URL <a href="http://www.nse-india.com/marketinfo/equities/cmquote.jsp?key=SBINEQN&amp;symbol=SBIN&amp;flag=0&amp;series=EQ#" rel="nofollow">http://www.nse-india.com/marketinfo/equities/cmquote.jsp?key=SBINEQN&amp;symbol=SBIN&amp;flag=0&amp;series=EQ#</a></p> <p>Here is the code I am using </p> <pre><code>library(RCurl) library(XML) options(RCurlOptions = list(useragent = "R")) url &lt;- "http://www.nse-india.com/marketinfo/equities/cmquote.jsp?key=SBINEQN&amp;symbol=SBIN&amp;flag=0&amp;series=EQ#" wp &lt;- getURLContent(url) doc &lt;- htmlParse(wp, asText = TRUE) docName(doc) &lt;- url tmp &lt;- readHTMLTable(doc) ## Required tables tmp[[13]] tmp[[14]] </code></pre> <p>If you look at the tables it has not been able to parse the values from the webpage. I guess this due to some javascipt evaluation happening on the fly. Now if I use "save page as" option in google chrome(it does not work in mozilla) and save the page and then use the above code i am able to read in the values.</p> <p>But is there a work around so that I can read the table of the fly ? It will be great if you can help.</p> <p>Regards,</p>