From thomas@biostat.washington.edu  Tue Apr 15 01:54:23 1997
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Mon, 14 Apr 1997 17:54:23 -0700 (PDT)
Subject: R-alpha: D()
In-Reply-To: <9704090917.AA01943@>
Message-ID: <Pine.SUN.3.95.970414175127.18041A-100000@sulu>


D() doesn't handle exp() correctly:

R> D(expression(exp(sin(x))),"x")
sin(x) * cos(x)
R> D(expression(exp(x)),"x")
x


Thomas Lumley
------------------------------------------------------+------
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: D()
Thomas Lumley