Evaluate a yacas expression.
Eval(x, env = parent.frame(), ...)
Object to be evaluated.
Environment or list in which to perform evaluation.
Not currently used.
Eval(yacas(expression(x*x)), list(x=2))
#> [1] 4
# same
x <- 2
Eval(yacas(expression(x*x)))
#> [1] 4