Skip to content

Instantly share code, notes, and snippets.

@dsparks
Created February 14, 2011 14:54
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 dsparks/825978 to your computer and use it in GitHub Desktop.
Save dsparks/825978 to your computer and use it in GitHub Desktop.
Uses RCurl to get past https, saves and loads code locally
Gister <- function(rawurl){
require(RCurl)
write.table(unlist(strsplit(getURL(rawurl, ssl.verifypeer = FALSE), "\n")),
"GistCode.txt", row.names = F, quote = F)
source("GistCode.txt")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment