Package org.fryske_akademy.pos_tagger
Class WrappedRConnection
- java.lang.Object
-
- org.rosuda.REngine.REngine
-
- org.rosuda.REngine.Rserve.RConnection
-
- org.fryske_akademy.pos_tagger.WrappedRConnection
-
public class WrappedRConnection extends org.rosuda.REngine.Rserve.RConnectionRConnection that use temp file to write output to
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOAD_ERRORSstatic StringOUTPUT_R_VAR_NAME
-
Constructor Summary
Constructors Constructor Description WrappedRConnection(String udpipeModel, String loadScript)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandeleteOutput()FileinitOutput()-
Methods inherited from class org.rosuda.REngine.Rserve.RConnection
assign, assign, assign, close, createFile, createReference, detach, eval, eval, finalize, finalizeReference, get, getLastError, getParentEnvironment, getServerVersion, isConnected, login, needLogin, newEnvironment, openFile, parse, parseAndEval, removeFile, resolveReference, serverEval, serverShutdown, serverSource, setSendBufferSize, setStringEncoding, shutdown, voidEval, voidEvalDetach
-
-
-
-
Field Detail
-
OUTPUT_R_VAR_NAME
public static final String OUTPUT_R_VAR_NAME
- See Also:
- Constant Field Values
-
LOAD_ERRORS
public static final String LOAD_ERRORS
- See Also:
- Constant Field Values
-
-
Method Detail
-
deleteOutput
public boolean deleteOutput()
-
initOutput
public File initOutput() throws IOException
- Throws:
IOException
-
-