outer fails with group generic operations on factors (PR#166)
Peter Dalgaard BSA
p.dalgaard@biostat.ku.dk
13 Apr 1999 20:42:38 +0200
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._