Skip to content

Instantly share code, notes, and snippets.

@johnmackintosh
Created January 13, 2023 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnmackintosh/ee6270e2e7b0bcb2ceffa8fbdfb8f420 to your computer and use it in GitHub Desktop.
Save johnmackintosh/ee6270e2e7b0bcb2ceffa8fbdfb8f420 to your computer and use it in GitHub Desktop.
download RDS file direct from github repository
path <- "https://github.com/owner/repo/raw/main/somedata.rds"
rdsdl <- function(path){
readRDS(url(path, "rb"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment