On 27/11/16 22:09, WRAY NICHOLAS wrote:
I am not aware that R really does symbolic manipulation in the way which you want, but I would have thought that this process would make a very pretty little problem to solve for you yourself, in that you could write a programme to analyse the original expression as a string of characters, whose particular nature means that you have to make certain choices. Start with a simple example, say (x^2 + x +1)/(x+1) (i haven't actually worked this out) and gradually work up
A quick Google search reveals Ryacas and rSymPy as (at least) two packages that do symbolic manipulations. I have never used either, and don't know if they do the partial fraction calculations that the OP wanted. But they'd be worth checking out.
cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.