[R] Read Content from URL to XML format

John Kane jrkrideau at inbox.com
Fri Mar 8 15:21:38 CET 2013


It works for me. Or at least I got something to download. What is another matter. I am just trying to learn how to do this and really don't have any good advice.

Perhaps the site was down or overloaded?  Any firewalls to worry about at your end?

John Kane
Kingston ON Canada


> -----Original Message-----
> From: antony.akkara at ge.com
> Sent: Thu, 7 Mar 2013 22:31:01 -0800 (PST)
> To: r-help at r-project.org
> Subject: Re: [R] Read Content from URL to XML format
> 
> Hi John ,
> 
> 
> 
> I tried this code
> 
> ==============
> 
> library(RCurl)
> 
> library(XML)
> 
> script <- getURL("www.r-bloggers.com")
> 
> 
> 
> and now getting an error like ,
> 
> b??Error in function (type, msg, asError = TRUE)  : couldn't connect to
> hostb??
> 
> 
> 
> 
> 
> 
> 
> From: John Kane [via R] [mailto:ml-node+s789695n4660616h34 at n4.nabble.com]
> Sent: Thursday, March 07, 2013 8:53 PM
> To: Akkara, Antony (GE Power & Water, Non-GE)
> Subject: Re: Read Content from URL to XML format
> 
> 
> 
> Perhaps
http://stackoverflow.com/questions/1395528/scraping-html-tables-into-r-data-frames-using-the-xml-package
> may be of help
> 
> John Kane
> Kingston ON Canada
> 
> 
>> -----Original Message-----
>> From: [hidden email]
>> Sent: Wed, 6 Mar 2013 19:23:24 -0800 (PST)
>> To: [hidden email]
>> Subject: [R] Read Content from URL to XML format
>> 
>> Hi,
>> 
>> i want to know how to read a table values from a URL and get it as XML
>> content.
>> Could anyone please help me out ASAP ?
>> 
>> Thanks,
>> Antony.
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://r.789695.n4.nabble.com/Read-Content-from-URL-to-XML-format-tp4660561.html
>> Sent from the R help mailing list archive at Nabble.com.
>> 
>> ______________________________________________
>> [hidden email] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> ____________________________________________________________
> TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if5
> Capture screenshots, upload images, edit and send them to your friends
> through IMs, post on TwitterB., FacebookB., MySpaceb?", LinkedInB. b??
> FAST!
> 
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 
> ________________________________
> 
> If you reply to this email, your message will be added to the discussion
> below:
> 
> http://r.789695.n4.nabble.com/Read-Table-Content-from-URL-to-XML-format-tp4660561p4660616.html
> 
> To unsubscribe from Read Table Content from URL to XML format, click here
<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4660561&code=YW50b255LmFra2FyYUBnZS5jb218NDY2MDU2MXwxNTUxOTQzMDI5>
> .
> NAML
> <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 
> 
> 
> 
> 
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Read-Table-Content-from-URL-to-XML-format-tp4660561p4660687.html
> Sent from the R help mailing list archive at Nabble.com.
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!



More information about the R-help mailing list