Skip to content
Prev 32678 / 63424 Next

Automatic Differentiation for R

On Tue, May 19, 2009 at 9:08 AM, Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
The overloading facilities present have already been discussed in
this thread including a complete illustration of using them for the
problem at hand.

rSymPy and Ryacas both support overloading.

Ryacas also supports automatic differentiation
of one line R functions but its not fully developed and very limited.
See demo("Ryacas-Function") which shows differentiation of the
Burr CDF to get the PDF.

Here are a few more simpler examples to illustrate overloading in
these packages.
Loading required package: XML
[1] "Starting Yacas!"
expression(2 * x)
Loading required package: rJava
[1] "2*y"

Check the home pages of the packages for more info.