Reading Rds file from git
问题 I am trying to read rds file, directly from GitHub. I am able to read any file from git but when I try to read rds file using gzcon its asking value for con. dat <- readRDS(gzcon(url("http://mgimond.github.io/ES218/Data/ABC.rds"))) exception : con has not defined. what type of connection it requires? 回答1: If you are having issues one way is to download the file as a tempfile. url <- "mgimond.github.io/ES218/Data/ACS.rds" temp <- tempfile() # create a tempfile download.file(url, temp) #