[R] unexpected behaviour of 'curve' function

Duncan Murdoch murdoch at stats.uwo.ca
Sat Nov 27 01:19:03 CET 2004

On Fri, 26 Nov 2004 18:48:45 -0500, Duncan Murdoch
<murdoch at stats.uwo.ca> wrote:

>On 26 Nov 2004 12:27:35 +0100, Peter Dalgaard
><p.dalgaard at biostat.ku.dk> wrote:

>>Having pu end up in the global environment looks like a bug in
>>delay() but I don't think it has any influence on this particular
>That's a pretty serious bug in delay().  It's been there at least
>since 1.9.1.

Oops, not a bug, behaving as documented (but maybe a design flaw)?
delay() is documented as defaulting to the global environment.
curve() should have used "env=environment()".

Duncan Murdoch

More information about the R-help mailing list