List<String> evalWarnings = singleton.context.extractEvalWarnings();
ConsoleHandler consoleHandler = singleton.context.getConsoleHandler();
// GnuR outputs warnings to the stderr, so we do too
if (evalWarnings != null && evalWarnings.size() > 0) {
if (inAddition) {
consoleHandler.printError("In addition: ");
}
if (evalWarnings.size() == 1) {
consoleHandler.printErrorln("Warning message:");
consoleHandler.printErrorln(evalWarnings.get(0));
} else {