Read raw-CSV URL from Github Enterprise


I am in the process of building an R-course for beginners at my workplace.
The idea of using Rstudio Cloud is attractive because it requires no set-up on the users behalf.

I have a relevant csv dataset I wish to use in this course, currently it is hosted on my workplace's Github Enterprise account. Using the read.csv("Github Enterprise URL") function works when using the Rstudio desktop IDE, but on Rstudio Cloud I receive an error:

Error in file(file, "rt") :
cannot open the connection

I guess this has something to do with my workplace VPN blocking external traffic. Are you aware of any way around this?

Thank you kindly,

If you go to the website where the CSV file is, look for a button that says "Raw", click on this and it will give you a URL to the CSV and not to the HTML. This is what you want to use in your code.

Hi Steph,

Thanks for your response.

The URL already references the raw CSV... No dice.

Oh I missed you were using RStudio Cloud. Is the RStudio cloud on your own servers or using If it's the first, you should be able to figure it out but if it's the latter, you won't be able to access GitHub enterprise through

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.