Révision 697
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/RWorkspace.java (revision 697) | ||
---|---|---|
336 | 336 |
if (!execFile.exists() || pathToRExecutable == null || pathToRExecutable.length() == 0) { |
337 | 337 |
isRServerOk = StartRserve.checkLocalRserve(port, debug, rargs, rServeArgs); |
338 | 338 |
if (!isRServerOk) { |
339 |
throw new RWorkspaceException( |
|
340 |
RCoreMessages.error_rservePathNotSet); |
|
339 |
throw new RWorkspaceException(RCoreMessages.error_rservePathNotSet); |
|
341 | 340 |
} |
342 | 341 |
} else { |
343 | 342 |
Log.info(RCoreMessages.bind(RCoreMessages.info_startingRUsingPath, pathToRExecutable)); |
... | ... | |
387 | 386 |
* @param file the file |
388 | 387 |
* @throws IOException Signals that an I/O exception has occurred. |
389 | 388 |
*/ |
390 |
public static void loadEvalLog(File file) throws IOException |
|
391 |
{ |
|
389 |
public static void loadEvalLog(File file) throws IOException { |
|
392 | 390 |
BufferedReader reader = new BufferedReader(new FileReader(file)); |
393 | 391 |
String cmd = reader.readLine(); |
394 |
while(cmd != null) |
|
395 |
{ |
|
392 |
while(cmd != null) { |
|
396 | 393 |
evalLogs.add(cmd); |
397 | 394 |
cmd = reader.readLine(); |
398 | 395 |
} |
Formats disponibles : Unified diff