Skip to content

Commit

Permalink
Fix bugs 3136 and 3138
Browse files Browse the repository at this point in the history
Only a workaround for bug 3136 (R console crashes on Bioclipse start)
Getting the RBusinessManager should be handled in a better way
  • Loading branch information
Valentin Georgiev committed Feb 23, 2012
1 parent 16e98b7 commit d43edbd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -424,7 +424,7 @@ public String eval(String command) {
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.
RObject data = rservi.evalData("capture.output("+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();
StringBuilder builder = new StringBuilder();
int n = rData.getLength();
Expand Down

0 comments on commit d43edbd

Please sign in to comment.