Skip to content
Prev 389826 / 398503 Next

Environmental oddity --- reproducible example.

G'day Rolf,

On Sun, 7 Nov 2021 19:33:40 +1300
Rolf Turner <r.turner at auckland.ac.nz> wrote:

            
Fascinating:

R> pryr::call_tree(body(d1))
R> pryr::call_tree(body(d2))

clearly show that the two functions have a different idea to what
expression the final "/sd" is applied too (as an earlier poster
suggested), but I have no idea why.

Deriv() seems to return the correct function, but when it is displayed,
the deparser(?) somehow omits a crucial pair of braces.

Cheers,

	Berwin