Skip to content

Commit

Permalink
allow save/restore user workspace when running shell
Browse files Browse the repository at this point in the history
  • Loading branch information
felixcheung committed Jan 7, 2016
1 parent c3488c9 commit 24fee57
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ private List<String> buildSparkRCommand(Map<String, String> env) throws IOExcept

List<String> args = new ArrayList<String>();
args.add(firstNonEmpty(System.getenv("SPARKR_DRIVER_R"), "R"));
Collections.addAll(args, "--no-site-file", "--no-environ", "--no-restore");
// Allow save/restore for SparkR shell
Collections.addAll(args, "--no-site-file", "--no-environ");
return args;
}

Expand Down

0 comments on commit 24fee57

Please sign in to comment.