Ask Your Question

Can't source data from web using R scripts?

asked 2015-02-04 12:31:37 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.


I'm attempting to source dynamic data from the web (through R within sage cloud terminal, package httr). But every attempt, for any website returns in a "Failed to connect to url port 80: Connection refused", where URL could be really any web resource, e.g. an xml file accessible on the web

Is my session behind a firewall? Can I amend those settings then?

edit retag flag offensive close merge delete


I edited this to remove a link that some people may have interpreted as spam. Please let us know how this is connected to Sage or you may be blocked in the future.

kcrisman gravatar imagekcrisman ( 2015-02-04 13:22:00 +0200 )edit

Hey thanks. That was just included to demonstrate my problem. Honest (and new) user here. Can you pls not ban me? Thanks

Sarang gravatar imageSarang ( 2015-02-04 13:26:31 +0200 )edit

No worries, not banned! If you have a different example that isn't from a known ad source that would be great. Hopefully someone will have a good answer for you, especially if you are able to give a connection to Sage.

kcrisman gravatar imagekcrisman ( 2015-02-04 18:58:18 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-05 09:44:30 +0200

slelievre gravatar image

updated 2015-02-05 10:33:06 +0200

SageMathCloud projects at don't have network access by default. You can request network access for your project by emailing William Stein, giving your project id and declaring that you want this web access for good reasons (research etc.) and that you will not abuse resources (no spamming, no mining bitcoins etc.).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-02-04 12:31:37 +0200

Seen: 899 times

Last updated: Feb 05 '15