I am trying to do the following but can't figure it out. Could someone please help me?
f <- expression(x^3+4*y) df <- D(f,'x') x <-0 df0 <- eval(df)
df0 should be a function of y!