[Rd] works in R-1.1.1 but not in R-development; why?

Ramon Diaz-Uriarte ramon-diaz@teleline.es
Fri, 13 Oct 2000 19:07:46 +0200


Thanks a lot to Thomas Lumley, Peter Dalgaard, and Luke Tierney for their
answers. 


I think I understand why the function failed, and the workaorunds. However,
would it be appropriate if a call such as:


my.function <- function(formula, data){
# other stuff
    lm(formula = formula, data = data, weights = data$x2)
} 

my.function(formula, datai)


where to return an error, instead of simply ignoring the weights=data$x2
argument? (especially since such a thing used to work and might be used in
other code)

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