[R] Behaviour of 'source' with URLs and proxy

Hans Ekbrand hans at sociologi.cjb.net
Wed Oct 5 13:13:30 CEST 2011


On Wed, Oct 05, 2011 at 12:44:12PM +0200, Renaud Gaujoux wrote:
> Is source supposed to work through a proxy?

This worked for me:

> Sys.setenv(http_proxy="http://192.168.0.252:8118")
> source("http://pc5.socio.gu.se:84/enkel-kurva.r", echo = T)
> my.vectory = c(1,30,2,3,3,4)
> my.vectorx = c(1,2,3,4,5,6)
> plot(y = my.vectory, x = my.vectorx, type = "l")



More information about the R-help mailing list