Re: [Rd] An inconsistency with promise in attributes

2003-08-12 Thread Luke Tierney
On Mon, 11 Aug 2003, Saikat DebRoy wrote: > When an attribute is a delayed expression sometimes it is not forced > when it is extracted. > > > x <- list() > > attr(x, "p") <- delay(1) > > x > list() > attr(,"p") > > > val <- attr(x, "p") > > val > [1] 1 > > attr(x, "p") > > > I am not q

Re: [Rd] s4 methods and base

2003-08-12 Thread John Chambers
"Marsland, John" wrote: > > I'm sure that many people are in the same position as me in that they are > trying to write packages and code that is vaguely "future proof". > > Would it be possible to get some guidance on how the R-core team see the > evolution of the "base" package with regard to s

Re: [Rd] model.frame() call from inside a function (PR#3671)

2003-08-12 Thread Saikat DebRoy
On Thursday, Aug 7, 2003, at 04:13 US/Eastern, Peter Dalgaard BSA wrote: [[ I did discover yesterday (or maybe I was just reminded...) that we even have nonstandard nonstandard evaluation rules in some places (nls() seems to evaluate its model formula in the global environment even if it is given

Re: [Rd] unexpected behaviour in lm() (PR#3657)

2003-08-12 Thread Prof Brian Ripley
On Mon, 4 Aug 2003, Thomas Lumley wrote: > On Mon, 4 Aug 2003 [EMAIL PROTECTED] wrote: > > > > > > lm(c(1:10) ~ c(1:10)) > > > > Call: > > lm(formula = c(1:10) ~ c(1:10)) > > > > Coefficients: > > (Intercept) > > 5.5 > > It's a feature. Unfortunately it's not a well documented feature.