Skip to content

R won't connect to the internet on SUSE Linux 8.1

1 message · James W. MacDonald

#
HTTP_PROXY issues aside, if all you want to do is install Bioconductor,
simply download the latest bioconductor_xx.tar.gz and use R CMD
INSTALL.

Jim



James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
07:18AM >>>
Hi Henrik

Thanks for your help, I really do appreciate it.

If I follow your instructions, R returns the value
http://wwwcache.bbsrc.ac.uk:8080.  That is good and it means that
indeed my http_proxy environment variable is set.

I have also added the lines

http_proxy=http://wwwcache.bbsrc.ac.uk:8080/
HTTP_PROXY=http://wwwcache.bbsrc.ac.uk:8080/

both to .Renviron in my home directory, and to /usr/lib/R/etc/Renviron
and /usr/lib/R/etc/Renviron.site.

All to no avail... R still doesn't try to connect through my proxy
server.  

Please, I genuinely think this is a bug in R 1.7.1 on Suse Linux 8.1.

NOW, here is a little detail I have just discovered that PROVES my
proxy is working.  

If I do:

update.packages(method="wget")

then everything works fine.... hmmmm, but I still have a problem as the
command I really want to run is :

source("http://wwwbioconductor.org/getBioC.R")

and source() does not accept an option 'method="wget"'....

SO... is there a way in R that I can set it up such that ALL internet
connections from within R use method="wget" ??

Thanks
Mick

-----Original Message-----
From: Henrik Bengtsson [mailto:hb at maths.lth.se] 
Sent: 25 July 2003 11:25
To: 'michael watson (IAH-C)'
Cc: R-help at stat.math.ethz.ch 
Subject: RE: [R] R won't connect to the internet on SUSE Linux 8.1


Could it be that you have redefined the command R in your shell such
that the http_proxy environment variable is set in one and R is
running
in another? (This is just a wild guess and I am myself only running
WinXP.) What do you get if you do

% env http_proxy=http://wwwcache.bbsrc.ac.uk:8080/
% R
Also, have you considered setting http_proxy in ~/.Renviron (see
?.Renviron).

Cheers

Henrik Bengtsson
Lund University
proxies).
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help