Skip to content

Commit

Permalink
Yet another fix for the Save R session button
Browse files Browse the repository at this point in the history
related to Bug 3299
  • Loading branch information
Valentin Georgiev committed Sep 20, 2012
1 parent 41250ff commit 486c58b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -96,7 +96,7 @@ public void run( final Object result ) {
},
new Hook() {
public void run( final Object result ) {
if (command.contentEquals("save.image(\".RData\")") && result == "") {
if (command.contentEquals("save.image(\".RData\")") && result.toString().length() == 0) {
printMessage(NEWLINE + "R Session saved");
} else {
printMessage(NEWLINE + result);
Expand Down

0 comments on commit 486c58b

Please sign in to comment.