[Rd] User defined assignment function ignores argument names (PR#888)

jhallman@frb.gov jhallman@frb.gov
Fri, 30 Mar 2001 23:03:10 +0200 (MET DST)


Full_Name: Jeff Hallman
Version: 1.2.2
OS: Solaris
Submission from: (NULL) (132.200.32.33)


"boink<-" <- function(x, a = 1, b = 2, value){
    print(match.call())
    x
}

> z <- 1
> boink(z, b = 4) <- 22
boink<-(x = *tmp*, a = 4, value = 22)
>
     
Shouldn't it have matched the 4 to b, not a?



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