Révision 1168
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/RWorkspace.java (revision 1168) | ||
---|---|---|
1409 | 1409 |
if(this.isLoggingEvalCommandLines()) { |
1410 | 1410 |
Log.finest("Reval: " + expr); //$NON-NLS-1$ |
1411 | 1411 |
} |
1412 |
REXP r = connection.eval("try({" + expr + "}, silent=TRUE)"); //$NON-NLS-1$ //$NON-NLS-2$ |
|
1412 |
REXP r = null; |
|
1413 |
try { |
|
1414 |
r = connection.eval("try({" + expr + "}, silent=TRUE)"); |
|
1415 |
} |
|
1416 |
catch (Exception e) { |
|
1417 |
// TODO Auto-generated catch block |
|
1418 |
e.printStackTrace(); |
|
1419 |
} |
|
1413 | 1420 |
if (r !=null && r.inherits("try-error")) throw new RException(expr, r.asString()); //$NON-NLS-1$ |
1414 | 1421 |
return r; |
1415 | 1422 |
} |
Formats disponibles : Unified diff