}
private static boolean isError(REXP result, SimpleEvaluationObject obj) {
try {
REXP value = result.asList().at(0);
if (value.inherits("try-error")) {
String prefix = "Error in try({ : ";
String rs = value.asString();
if (rs.substring(0, prefix.length()).equals(prefix)) {
rs = rs.substring(prefix.length());
}