Reading local data into learnr tutorial

Hello, I want to read a local .csv file into my tutorial, so that the students can explore the data in the final learnr document. However, a standard "data <- read.csv("file.csv", header = T)" leads to a connection issue, in one way or another, and logically so. What is a workaround for this?

Thanks in advance

This is discussed a bit at https://github.com/rstudio/learnr/issues/99.

Loading from a URL seems to be the most straightforward option, this is what I usually use.

Thank you so much, Mine :slight_smile: I will try this.

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

This topic was automatically closed 42 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.