[R] Save values from an expression that is created from deriv command

2009-05-23 Thread dimitris kapetanakis
Dear all, I want to save a value from an expression that I created by using the deriv function. So for example the output from an expression using the deriv command is: expression({ .expr7 - 4 * b.nox.2^2 - 12 * b.nox.3 * b.nox.1 .expr9 - -2 * b.nox.2 - sqrt(.expr7) .expr10 - 6 *

Re: [R] Save values from an expression that is created from deriv command

2009-05-23 Thread Gabor Grothendieck
Try this: D(expression(x*x), x) On Sat, May 23, 2009 at 12:46 PM, dimitris kapetanakis gami...@gmail.com wrote: Dear all, I want to save a value from an expression that I created by using the deriv function. So for example the output from an expression using the deriv command is: