Unix proxy and firewall problems
From ?download.file
These environment variables must be set before the download code
is first used: they cannot be altered later by calling
'Sys.putenv'.
Also, Sys.putenv("http_proxy"="http...:8080") sets that to the value
in "" and not the value of a variable named that: for the latter you must
use `` quoting. This is I suspect the actual failure cause.
On Wed, 19 Oct 2005, Assa Yeroslaviz wrote:
I was trying to install R on a unix server. Because of a firewall i can't install biocLite for working with Bioconductor.
With windows it wasn't a problem. I used the option '--internet2' to bypass the firewall. I don't have any idea, how to do it with unix. I tried to set my proxy
Sys.putenv("http_proxy"="http...:8080")
Sys.getenv("http_proxy")
http_proxy "http://...:8080" http://by-cache.bayer-ag.com:8080/ but than by try to use the source command to download the bioC.R script I'm getting the message:
source("http:/bioconductor.org/getBioC.R")
Error in file(file, "r", encoding = encoding) :
unable to open connection
In addition: Warning message:
cannot open file 'http:/bioconductor.org/getBioC.R'
Is there a possibility to change the proxy setting after the programm is already
running or do i need to do it before?
THX
Assa
--
Assa Yeroslaviz
Loetzenerstr. 15
51373 Leverkusen
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595