Skip to content
Snippets Groups Projects
Commit 430270c6 authored by Mick Jordan's avatar Mick Jordan
Browse files

ContextSystemFunctionFactory: fix bug choosing R/Sscript with full quoted path

parent b1be5241
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,12 @@ public class ContextSystemFunctionFactory extends SystemFunctionFactory {
private static String[] checkRCommand(String command) {
String[] parts = command.split(" ");
String rcommand = isFastR(parts[0]);
return rcommand == null ? null : parts;
if (rcommand == null) {
return null;
} else {
parts[0] = rcommand;
return parts;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment