Learn R Programming

solvebio (version 2.15.0)

Expression.evaluate: Expression.evaluate

Description

Evaluate a SolveBio expression.

Usage

Expression.evaluate(
  expression,
  data_type = "string",
  is_list = FALSE,
  data = NULL,
  raw = FALSE,
  env = .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

https://docs.solvebio.com/

Examples

Run this code
if (FALSE) {
Expression.evaluate("1 + 1", data_type="integer", is_list=FALSE)
}

Run the code above in your browser using DataLab