See
?download.file
?url
Omegahat package RCurl
You do realize that the 'code of web page' is just what you download?
E.g. (working example)
readLines(url("http://www.r-project.org";))
On Sun, 13 Jan 2008, John Lande wrote:
> dear R user,
>
> I need a function that download the code of web pa
Try this:
code <- readLines(site)
On 13/01/2008, John Lande <[EMAIL PROTECTED]> wrote:
> dear R user,
>
> I need a function that download the code of web page as html, to further
> parse it.
>
> something like
>
> >site="http://www.R-project.com";
> >code=function(site)
> >code
>
> !DOCTYPE HTML
dear R user,
I need a function that download the code of web page as html, to further
parse it.
something like
>site="http://www.R-project.com";
>code=function(site)
>code
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
The R Project for Statistical Computing
The R
3 matches
Mail list logo