Evaluates the given command.
Implemented as separate thread which is interrupted after the timeout period.
- Parameters:
-
| cmd | command/expression string |
| timeout | wait for result in milisec. |
- Exceptions:
-
Implements de.alysis.r.basemodel.connection.BaseConnection. 00073 {
00074 if (c == null || !c.isConnected())
00075 throw new ModelException("Not connected");
00076 try {
00077 if (c != null && c.isConnected()) {
00078 c.voidEval(cmd);
00079 }
00080 } catch (RSrvException e) {
00081 throw new ModelException(e.getLocalizedMessage());
00082 }
00083 }
|