Expression.evaluate {solvebio} | R Documentation |
Expression.evaluate
Description
Evaluate a SolveBio expression.
Usage
Expression.evaluate(
expression,
data_type = "string",
is_list = FALSE,
data = NULL,
raw = FALSE,
env = solvebio:::.solveEnv
)
Arguments
expression |
The SolveBio expression string. |
data_type |
The data type to cast the expression result (default: string). |
is_list |
Set to TRUE if the result is expected to be a list (default: FALSE). |
data |
Variables used in the expression (default: NULL). |
raw |
Set to TRUE to return the raw response (default: FALSE). |
env |
(optional) Custom client environment. |
References
Examples
## Not run:
Expression.evaluate("1 + 1", data_type="integer", is_list=FALSE)
## End(Not run)
[Package solvebio version 2.14.0 Index]