Ask Your Question
0

Can't source data from web using R scripts?

asked 2015-02-04 05:31:37 -0500

this post is marked as community wiki

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

Hi,

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

Comments

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 06:22:00 -0500 )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 06:26:31 -0500 )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 11:58:18 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-02-05 02:44:30 -0500

updated 2015-02-05 03:33:06 -0500

SageMathCloud projects at cloud.sagemath.com 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

Stats

Asked: 2015-02-04 05:31:37 -0500

Seen: 450 times

Last updated: Feb 05 '15