Skip to content

Commit

Permalink
tolerate (but log) errors reading .Rhistory at startup (some users se…
Browse files Browse the repository at this point in the history
…em to end up with this file being owned by root)
  • Loading branch information
jjallaire committed Mar 8, 2011
1 parent 21fabf3 commit 2506aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/r/session/RSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ Error initialize()
FilePath historyFilePath = s_options.userHomePath.complete(kRHistory);
error = consoleHistory().loadFromFile(historyFilePath, false);
if (error)
return error;
LOG_ERROR(error);

// defer loading of global environment
s_deferredDeserializationAction = restoreDefaultGlobalEnvironment;
Expand Down

0 comments on commit 2506aa9

Please sign in to comment.