Hello everybody, 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. Thank in advance Nicole Erbe Production Engineering Verigy Germany GmbH Herrenberger Str. 130 71034 B?blingen Tel: +49 7031 4357327 Mail: nicole.erbe at verigy.com
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.
I had that problme and ended up downloading the package and installing locally. there is probably a better way Richard Erbe, Nicole wrote:>Hello everybody, > >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. > >Thank in advance > >Nicole Erbe >Production Engineering >Verigy Germany GmbH >Herrenberger Str. 130 >71034 B?blingen >Tel: +49 7031 4357327 >Mail: nicole.erbe at verigy.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. > > > >-- Richard Gott Professor of Science Education School of Education Durham University richard.gott at dur.ac.uk 0191 3348 354 DISCLAIMER:\ \ This e-mail is intended solely for the addres...{{dropped}}