y_fn("x^2 - 1", "TeXForm")
yac_str(y_fn("x^2 - 1", "TeXForm"))
y_fn("x^2 - 1", "Factor")
yac_str(y_fn("x^2 - 1", "Factor"))
cmd <- "x^2 - 1 == 0" %>% y_fn("Solve", "x")
cmd
sol <- yac_str(cmd)
sol
yac_str(y_rmvars(sol))
Run the code above in your browser using DataLab