Summary: | NEEDINFO: setting up proxy info on GNU/Linux with Gnome | ||
---|---|---|---|
Product: | [Applications] rkward | Reporter: | RKWard Team <rkward-devel> |
Component: | general | Assignee: | RKWard Team <rkward-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
RKWard Team
2011-07-28 14:07:56 UTC
Hi\! Based on the given information, I am not quite convinced this is an issue with the proxy. Two things to try, first: 1\) Try download.file \("http://cran.r-project.org/web/packages/available\_packages\_by\_date.html", "somewhere"\) 2\) What's the output of Sys.getenv \("HTTP\_PROXY"\) ? Does it change anything, if you run Sys.setenv \(HTTP\_PROXY="http://conf\_www.ir.vhebron.net:8081"\) Also, having the output of rk.sessionInfo\(\) might be helpful. Regards Thomas P.S.: The line HTTP\_PROXY=$\{HTTP\_PROXY="http://conf\_www.ir.vhebron.net:8081"\} looks strange to me. Shouldn't this be just HTTP\_PROXY="http://conf\_www.ir.vhebron.net:8081" ? Have you tried the command in a plain R session? - **summary**: seting up proxy info on GNU/Linux with Gnome --> NEEDINFO: setting up proxy info on GNU/Linux with Gnome -- Originally posted by (AT sourceforge.net): xavidp -- Hi Thomas, and sorry for the long delay \(again\) in replying your answer... You got the solution in your PS message. When I arrived to this reasearch unit I was told the that syntax to at to the Renviron file for the proxy was: HTTP\_PROXY=$\{HTTP\_PROXY="http://conf\_www.ir.vhebron.net:8081"\} and that syntax seems to work for R sessions in console, and a few other programs \(Rstudio, emacs, etc\). But not for RKward or apache, either. However, with the simpler syntax to set the ennvironment variable as you suggested, rkward comes back to work, as well as apache, etc. Thanks for your help\! FYI, with this syntax: HTTP\_PROXY=$\{HTTP\_PROXY="http://conf\_www.ir.vhebron.net:8081"\} the output of Sys.getenv \("HTTP\_PROXY"\) was: > Sys.getenv \("HTTP\_PROXY"\) \[1\] "$\{HTTP\_PROXY" and download.file didn't succeed through rkward \(but it did succeed through r console on a terminal\). but when I added your syntax HTTP\_PROXY="http://conf\_www.ir.vhebron.net:8081", then > Sys.getenv \("HTTP\_PROXY"\) \[1\] "http://conf\_www.ir.vhebron.net:8081" So, thanks thomas for your hint\! -- Originally posted by (AT sourceforge.net): xavidp -- - **status**: open --> closed |