On my Linux computer the R Statistics Integration nodes do not seem to pick up KNIME’s Network Connection as defined via preferences. E.g. in order to install an R package from CRAN within an “R Source (Workspace)” node I first have to set the appropriate environment variables in the node like this:
Sys.setenv(http_proxy="http://<proxy>:<port>")
Sys.setenv(https_proxy="http://<proxy>:<port>")
I do have an .Renviron file with these definitions in my home directory (which is read by R if I start R in a terminal session) but this does not seem to be read when KNIME is starting up R either.
On a Windows machine behind the same proxy all of this is not an issue.
Is there a way to fix this without always having to set the environment variables as mentioned above?
Cheers,
Matt