Dear R Users:

I would like to use symbolic integration from rSymPy and pass in the actual
function.

So I have
> sympy("x=Symbol('x')")

and if I use
> sympy("integrate(cos(x),x)")

it works fine.
But what I want to do is something like
> y <- "cos(x)"
> sympy("integrate(y,x)")
 "cos(x)*x"

Has anyone run into this, please?
Any suggestions would be much appreciated.

Thanks,
Sincerely,
Erin



-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess@gmail.com

	[[alternative HTML version deleted]]

