[R] using install.packages via proxy
Erbe, Nicole
nicole.erbe at verigy.com
Thu Apr 12 14:59:27 CEST 2007
Hi,
I'm (currently forced to) use Win XP. I actually found an easy way to solve the problem of installing the rJava package. To avoid the problems with the proxy I just downloaded the zip file and installed the package in R from a local source. Now I can use the JRI libraries in eclipse by adding the jar to the path. It works fine.
Using the libraries is now another issue...I will see how well it works and if the results are what I need.
Thanks a lot
Nicole Erbe
Production Engineering
Verigy Germany GmbH
Herrenberger Str. 130
71034 Böblingen
Tel: +49 7031 4357327
Mail: nicole.erbe at verigy.com
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Vladimir Eremeev
Sent: Donnerstag, 12. April 2007 14:41
To: r-help at stat.math.ethz.ch
Subject: Re: [R] using install.packages via proxy
What operating system do you use?
If you use Windows, than open the Control Panel, double click on the System
icon, go to "Advanced" tab, press
"Environment variables" button, then press "New" to create one more new
variable, enter "http_proxy" as the "Name" of variable, and
"http://address.of.your.proxy:port" as its value.
In unix you should consult with your shell manual for the proper command and
proper startup script file
(in bash, this would be export and ~/.bash_profile)
You also could use Sys.putenv R function
Erbe, Nicole wrote:
>
> I'm trying to install rJava to use JRI in a Java program as JRI is a part
> of rJava. There should be the option to install this package via
> install.packages("rJava"). Unfortunately I'm connected to the internet via
> a proxy. I have no idea how to tell R to connect via the proxy. The R-help
> tells me something about environment variables like "http_proxy". But I
> have no idea how and where to set these variable as I'm new to R. I don't
> know whether this is the right way to solve my problem.
>
> Is there anyone out there who knows how to solve this problem? Any help is
> appreciated.
>
--
View this message in context: http://www.nabble.com/using-install.packages-via-proxy-tf3564991.html#a9958606
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
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
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list