[R] run r script in r-fiddle

Suzen, Mehmet msuzen at gmail.com
Mon Oct 30 16:05:18 CET 2017


We were talking about r-fiddle. It gives error there [*], that's why I
suggested using RCurl.

> source("https://raw.githubusercontent.com/msuzen/isingLenzMC/master/R/isingUtils.R")
...
unsupported URL scheme
Error : cannot open the connection
>

On 30 October 2017 at 15:51, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>>>>>> Suzen, Mehmet <msuzen at gmail.com>
>>>>>>     on Mon, 30 Oct 2017 11:16:30 +0100 writes:
>
>     > Hi Frank, You could upload your R source file to a public
>     > URL, for example to github and read via RCurl, as source
>     > do not support https as far as I know.
>
> well... but your knowledge is severely (:-) outdated.
> Why did you not try first?
>
> source("https://raw.githubusercontent.com/msuzen/isingLenzMC/master/R/isingUtils.R")
>
> works for me even in R 3.3.0 which is really outdated itself!
>



More information about the R-help mailing list