Ask Your Question
0

Can't source data from web using R scripts?

asked 10 years ago

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?

Preview: (hide)

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 ( 10 years ago )

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 ( 10 years ago )

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 ( 10 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 10 years ago

slelievre gravatar image

updated 10 years ago

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.).

Preview: (hide)
link

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: 10 years ago

Seen: 1,175 times

Last updated: Feb 05 '15