From Waclaw.Marcin.Kusnierczyk at idi.ntnu.no  Thu Mar 12 15:54:35 2009
From: Waclaw.Marcin.Kusnierczyk at idi.ntnu.no (Wacek Kusnierczyk)
Date: Thu, 12 Mar 2009 15:54:35 +0100
Subject: [Rd] E`<`<rrors in recursive default argument references
In-Reply-To: <alpine.LFD.2.00.0903120937410.5957@nokomis.stat.uiowa.edu>
References: <8b356f880903091213o33e27e8di878e4ec574347015@mail.gmail.com>	<49B5A475.90105@biostat.ku.dk>	<alpine.LFD.2.00.0903111128340.5957@nokomis.stat.uiowa.edu>
	<alpine.LFD.2.00.0903120937410.5957@nokomis.stat.uiowa.edu>
Message-ID: <49B9222B.4090204@idi.ntnu.no>

luke at stat.uiowa.edu wrote:
> Thanks to Stavros for the report.  This should now be fixed in R-devel.

indeed, though i find some of the error messages strange:

    (function(a=a) -a)()
    # Error in (function(a = a) -a)() :
    #  element 1 is empty;
    #   the part of the args list of '-' being evaluated was:
    #   (a)

    (function(a=a) c(a))()
    # Error in (function(a = a) c(a))() :
    #   promise already under evaluation: recursive default argument
reference or earlier problems?

why are they different?

vQ



[Rd] E`<`<rrors in recursive default argument references
Wacek Kusnierczyk