As the doctor gone rogue

September 19, 2013

Sourcing R script over HTTPS – Stack Overflow

Filed under: R — hypotheses @ 12:44 pm

You can use

source("http://yourcode.com/rcode.R")

to source your script from online resource.
However, source doesn’t work if you have https link,

Here’s some solutions I found on stack overflow.

library(RCurl)
eval(expr = parse( text = getURL"http://www.mayin.org/ajayshah/KB/R/tutorial.R", ssl.verifypeer=FALSE))

via Sourcing R script over HTTPS – Stack Overflow.

Create a free website or blog at WordPress.com.