Commit d606197c authored by Stefan Gerlach's avatar Stefan Gerlach

[R backend] fix missing setenv on Windows

parent 1aa80fba
......@@ -71,10 +71,7 @@ void RServer::initR()
#include "renvvars.h"
for (int i = 0; R_VARS[i] != nullptr; i+= 2)
if (setenv(R_VARS[i], R_VARS[i+1], 1) != 0)
qDebug()<<"ERROR: couldn't set/replace an R environment variable";
qputenv(R_VARS[i], R_VARS[i+1]);
//R_SignalHandlers = 0; // Don't let R set up its own signal handlers
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment