Bug #1336

RCP: X.X, dynamically match RCP network configuration with R network configuration

Added by Sebastien Jacquot over 4 years ago. Updated about 4 years ago.

Status:New Start date:05/15/2015
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Network Spent time: -
Target version:TXM X.X

Description

Dynamically match RCP network configuration with R network configuration.
At this moment, changing the network connection provider in RCP preferences does not change the R network preferences. It is not fully satisfactory.
See #868

Solution

Retrieve the RCP proxy configuration: http://blog.vogella.com/2009/12/08/eclipse-rcp-proxy-preference/
Derive org.txm.stat.engine.r.RWorkspace.initializeRWorkspaceConnectionConfiguration(SystemProxyDetector) to pass the argument as an URL: org.txm.stat.engine.r.RWorkspace.initializeRWorkspaceConnectionConfiguration(String httpProxyUrl).
Use it with the RCP proxy configuration when the RCP preference page is changed.

History

#1 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 4 years ago

After some new tests, it seems calling in R: Sys.setenv(http_proxy="http://http_user:http_password@http_proxy:http_port") also works on Windows system (tested on Win 7 64bit without user name and pass: Sys.setenv(http_proxy="http://proxy-web.univ-fcomte.fr:3128"); )

#3 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)
  • Target version changed from TXM X.X to TXM 0.7.8

#4 Updated by Sebastien Jacquot about 4 years ago

  • Target version changed from TXM 0.7.8 to TXM X.X

Also available in: Atom PDF