Package kieker.tools.util
Class RBridgeControl
java.lang.Object
kieker.tools.util.RBridgeControl
@Deprecated
public final class RBridgeControl
extends java.lang.Object
Deprecated.
- Since:
- 1.10
-
Constructor Summary
Constructors Modifier Constructor Description protectedRBridgeControl()Deprecated. -
Method Summary
Modifier and Type Method Description voidassign(java.lang.String variable, double[] values)Deprecated.voidassign(java.lang.String variable, java.lang.Double[] values)Deprecated.voidassign(java.lang.String variable, java.lang.Long[] values)Deprecated.doubleeDbl(java.lang.String input)Deprecated.double[]eDblArr(java.lang.String input)Deprecated.java.lang.StringeString(java.lang.String input)Deprecated.java.lang.ObjectevalWithR(java.lang.String input)Deprecated.Wraps the execution of an arbitrary R expression.static RBridgeControlgetInstance()Deprecated.Delivers the singleton instance of this class.voidtoTS(java.lang.String variable)Deprecated.voidtoTS(java.lang.String variable, long frequency)Deprecated.static java.lang.StringuniqueVarname()Deprecated.Returns a globally unique variable name, even during the access of multiple threads.
-
Constructor Details
-
RBridgeControl
protected RBridgeControl()Deprecated.
-
-
Method Details
-
evalWithR
Deprecated.Wraps the execution of an arbitrary R expression. Both errors and results are logged.- Parameters:
input- The R expression to evaluate.- Returns:
- The result or the error of the evaluation of the given R expression. The method tries to convert it into a string, if possible.
- Throws:
InvalidREvaluationResultException
-
toTS
Deprecated.- Parameters:
variable- variable to R- Throws:
InvalidREvaluationResultException
-
toTS
public void toTS(java.lang.String variable, long frequency) throws InvalidREvaluationResultExceptionDeprecated.- Parameters:
variable- variable to Rfrequency- frequency to R- Throws:
InvalidREvaluationResultException
-
eDbl
public double eDbl(java.lang.String input)Deprecated.- Parameters:
input- string- Returns:
Double.NaNin case of error, else dbvalue
-
eString
public java.lang.String eString(java.lang.String input)Deprecated.- Parameters:
input- inputstring- Returns:
- Rdata
-
eDblArr
public double[] eDblArr(java.lang.String input)Deprecated.- Parameters:
input- inputstring- Returns:
- Rdata
-
assign
public void assign(java.lang.String variable, double[] values) throws InvalidREvaluationResultExceptionDeprecated.- Parameters:
variable- stringvalues- assign value- Throws:
InvalidREvaluationResultException
-
assign
public void assign(java.lang.String variable, java.lang.Double[] values) throws InvalidREvaluationResultExceptionDeprecated.- Parameters:
variable- stringvalues- assign vaules- Throws:
InvalidREvaluationResultException
-
assign
public void assign(java.lang.String variable, java.lang.Long[] values) throws InvalidREvaluationResultExceptionDeprecated.- Parameters:
variable- stringvalues- assign vaules- Throws:
InvalidREvaluationResultException
-
uniqueVarname
public static java.lang.String uniqueVarname()Deprecated.Returns a globally unique variable name, even during the access of multiple threads.- Returns:
- A unique variable name of the form
var_1, var_2, ....
-
getInstance
Deprecated.Delivers the singleton instance of this class.- Returns:
- The singleton instance.
-