From mcw@ln.nimh.nih.gov  Sat Sep 18 06:55:51 1999
From: mcw@ln.nimh.nih.gov (Matthew Wiener)
Date: Sat, 18 Sep 1999 01:55:51 -0400 (EDT)
Subject: lambda error update
In-Reply-To: <x2aeqlt7qk.fsf@blueberry.kubism.ku.dk>
Message-ID: <Pine.SGI.3.96.990918015308.10757B-100000@ln.nimh.nih.gov>



On 18 Sep 1999, Peter Dalgaard BSA wrote:

> "lambda" is essentially "function" (revealing the fact that R's engine
> is really a Lisp/Scheme dialect). It's a very strange error you're
> getting because the calls to "function" are almost impossible to
> create, except by having the parser parse a
> 
> function (<args>) <body> 
> 
> construction and that would set up a call with the right number of
> parameters (xxdefun in gram.y calls lang4). The arg count got changed
> from 0.64.2 to 0.65.0 (from 3 to 4) to accommodate the stored source
> attribute. I suppose that a function stored in a saved workspace might
> cause some kind of mess when restored.
> 

If I understand this correctly, it would seem to mean that I'm unlikely to
get this error more than once from any given function, since when I
re-store (rather than restore) it under 0.65.0 things will get fixed.
Does that seem right?  If not, is there anything I can do?

Thanks (for this help and for R generally).

Matt

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


lambda error update
Matthew Wiener