From jhallman@frb.gov  Fri Mar 30 22:03:10 2001
From: jhallman@frb.gov (jhallman@frb.gov)
Date: Fri, 30 Mar 2001 23:03:10 +0200 (MET DST)
Subject: [Rd] User defined assignment function ignores argument names (PR#888)
Message-ID: <200103302103.XAA17985@pubhealth.ku.dk>

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


[Rd] User defined assignment function ignores argument names (PR#888)
jhallman@frb.gov