Skip to content

Unix proxy and firewall problems

2 messages · Assa Yeroslaviz, Brian Ripley

#
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
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:
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
#
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: