Skip to content

Commit

Permalink
"Disabled" quartz() command
Browse files Browse the repository at this point in the history
print a message that X11 should be use instead
  • Loading branch information
Valentin Georgiev committed Sep 6, 2011
1 parent 142e16e commit a949d3b
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -403,6 +403,8 @@ public String eval(String command) {
if (working) {
if (command.startsWith("?"))
returnVal = help(command.substring(1));
else if (command.contains("quartz"))
returnVal = "quartz() is currently disabled for stability reasons" + NEWLINE + "Please use X11 for plotting!";
else try {
RObject data = rservi.evalData("capture.output(print("+command+"))", null); // capture.output(print( )) gives a string output from R, otherwise R objects. The extra pair of () is needed for the R function print to work properly.
RStore rData = data.getData();
Expand Down

0 comments on commit a949d3b

Please sign in to comment.