[R] Interactive plot using playwith() and abline

Christoph Scherber
Fri, 25 Jul 2008 15:52:11 -0000

Dear all,

Is it possible to use abline() after calling playwith(plot(...)))?

x=1:10
y=x^2

playwith(plot(x,y)) # works fine
playwith({abline(lm(y~x))}) # doesn?t work


Thanks!

Christoph