From p.dalgaard@biostat.ku.dk  Wed May 30 00:09:21 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 30 May 2001 01:09:21 +0200
Subject: [Rd] deriv (PR#953)
In-Reply-To: Thomas Lumley's message of "Tue, 29 May 2001 15:44:51 -0700 (PDT)"
References: <Pine.A41.4.33.0105291539050.107374-100000@homer23.u.washington.edu>
Message-ID: <x28zjfzra6.fsf@blueberry.kubism.ku.dk>

Thomas Lumley <tlumley@u.washington.edu> writes:

> On 30 May 2001, Peter Dalgaard BSA wrote:
> >
> > <grin>
> > You had me going there too.
> >
> > Try stripping the "source" attribute from the template functions....
> > (or from the output of deriv() for that matter). I'll give it a think
> > how to do that inside the deriv function so as to preserve user
> > sanity.
> 
> Ouch. Perhaps SET_BODY should remove the "source" attribute?

Hmm maybe, but it seems to me that elementary functions like that
should not do anything complicated, and body()<- and args() will
already lose *all* attributes. (The former might actually be
considered a buglet, but given the amount of use body()<- gets, I
think we can live with it).

I think I have another solution for deriv.c. That is, I thought I had,
but it didn't quite work...

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] deriv (PR#953)
Peter Dalgaard BSA