From p.dalgaard@biostat.ku.dk  Tue Apr 13 19:42:38 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 13 Apr 1999 20:42:38 +0200
Subject: outer fails with group generic operations on factors (PR#166)
In-Reply-To: Peter Dalgaard BSA's message of "13 Apr 1999 20:03:01 +0200"
References: <199904131729.TAA18570@biostat.ku.dk> <x2g164gzze.fsf@blueberry.kubism.ku.dk>
Message-ID: <x2btgsgy5d.fsf@blueberry.kubism.ku.dk>

Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:

> Actually, it *does* launch Ops.factor, but it gets confused by garbage
> in .Generic. The bug is this line in DispatchGroup:
> 
>     sprintf(generic, "%s", CHAR(PRINTNAME(CAR(call))));
> 
> which presumably should rather look at the "op" arg. 
> 
> I'll have a closer look.

It *apparently* works to change the above line to:

 sprintf(generic, "%s", PRIMNAME(op));

"make check" completes (haven't checked the output yet), but can we
*really* be sure that "op" is a .Primitive at that point?

Anyone know better?

-- 
   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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


outer fails with group generic operations on factors (PR#166)
Peter Dalgaard BSA