This only builds a yacas command. You need to also call yac_str(), yac_expr() or similar. This is the reason that it does not call yacas: it depends on how you want it returned (string, expression).

y_rmvars(x)

Arguments

x

yacas command

Examples

cmd <- "{x == 2, y == 4}"
yac_str(cmd)
#> [1] "{x==2,y==4}"
yac_str(y_rmvars(cmd))
#> [1] "{2,4}"