R-alpha: match.call() gets confused by ...

Douglas Bates (bates@stat.wisc.edu)
Thu, 29 Aug 96 16:16 CDT


Message-Id: <m0uwERr-0000TzC@franz.stat.wisc.edu>
Date: Thu, 29 Aug 96 16:16 CDT
From: Douglas Bates <bates@stat.wisc.edu>
To: R-testers <r-testers@stat.math.ethz.ch>
Subject: R-alpha: match.call() gets confused by ...

I'm not sure what the behaviour under S of this is but it probably
shouldn't be a segmentation fault.

 > foo <- function(bar) {
 +   match.call()
 + }
 > foo(2)
 foo(bar = 2)
 > foo <- function(bar, ...) {
 + match.call()
 + }
 > foo(2, baz = 3)

 Process R segmentation fault at Thu Aug 29 15:50:02 1996
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-