On Fri, Apr 13, 2012 at 9:50 PM, Kjetil Halvorsen
<kjetilbrinchmannhalvor...@gmail.com> wrote:
> I am experimenting with rSymPy, and it seems to work nice.
>
>
> However, I dislike the need to wrap all sympy expressions within
> quotes, it leads to ugly calls like
> library(rSymPy)
> Var("x,y,z")
> sympy("(x+y)**2")
> and so on.

Suggest you review the rSymPy home page which illustrates how to use
the Sym interface, e.g.

> library(rSymPy)
> x <- Var("x")
> y <- Var("y")
> (x+y)*(x+y)
[1] "(x + y)**2"


-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to