public
Created

Function to source theBioBucket-Scripts

  • Download Gist
source_tBB.R
R
1 2 3 4 5 6 7 8 9
source_tBB <- function(file) {
# read theBioBucket-scripts using a security certificate
u <- paste("https://raw.github.com/gimoya/theBioBucket-Archives/master/R/", file, sep = "")
script <- getURL(u, followlocation = TRUE,
cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"))
# parse lines and evaluate in the global environement
eval(parse(text = script), envir= .GlobalEnv)
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.