Reamer commented on a change in pull request #4199:
URL: https://github.com/apache/zeppelin/pull/4199#discussion_r685169039



##########
File path: rlang/src/main/java/org/apache/zeppelin/r/IRInterpreter.java
##########
@@ -152,6 +153,17 @@ protected void initIRKernel() throws IOException, 
InterpreterException {
     }
   }
 
+  @Override
+  protected Map<String, String> setupKernelEnv() throws IOException {
+    Map<String, String> envs = super.setupKernelEnv();
+    String pathEnv = envs.getOrDefault("PATH", "");
+    if (condaEnv != null) {
+      pathEnv = new File(".").getAbsolutePath() + "/" + condaEnv + "/bin:" + 
pathEnv;

Review comment:
       Looks weirder than I thought, but I think that should be correct.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to