Learn R Programming

calculus (version 0.3.2)

e2c: Expressions to Characters

Description

Converts expressions to characters.

Usage

e2c(x)

Arguments

x

expression.

Value

character.

References

Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". https://arxiv.org/abs/2101.00086

See Also

Other utilities: c2e(), evaluate(), wrap()

Examples

Run this code
# NOT RUN {
### convert expressions
expr <- parse(text = "a")
e2c(expr)

### convert array of expressions
expr <- array(parse(text = "a"), dim = c(2,2))
e2c(expr)

# }

Run the code above in your browser using DataLab