[R] access to source code of a website ..?

Duncan Murdoch murdoch at stats.uwo.ca
Wed Aug 26 19:22:36 CEST 2009


On 8/26/2009 12:44 PM, Martin Batholdy wrote:
> hi,
> 
> is it possible to read the source code of a website within R?

url("http://example.com") creates a connection that you can do what you 
like with.  For example,

readLines(url("http://www.r-project.org"))

Duncan Murdoch




More information about the R-help mailing list