Re: [Rd] Light-weight data.frame class: was: how to add method to .Primitive function

2005-05-09 Thread Gabor Grothendieck
"[.default" is implemented in R as .subset. See ?.subset and note that it begins with a dot. e.g. for the case where i and j are not missing: "[.lwdf" <- function(x, i, j) lapply(.subset(x,j), "[", i) On 5/8/05, Vadim Ogranovich <[EMAIL PROTECTED]> wrote: > Hi, > > Encouraged by a tip from S

Re: [Rd] Variable names with spaces in lm

2005-05-09 Thread Gabor Grothendieck
There is one other problem with the coercion to data.frame. terms.formula does not actually use the data contents, I think, so if it did not coerce to a data frame it could handle unequal length data in lists too. On 09 May 2005 19:37:25 +0200, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > Gabor Gro

[Rd] Status (PR#7845)

2005-05-09 Thread Ret
[[alternative HTML version deleted]] __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

RE: [Rd] Random Forests 4.5-10 varImpPlot (PR#7844)

2005-05-09 Thread Liaw, Andy
Please read the R FAQ on how to report bugs on contributed packages: Not to R-bug: as that's not a bug in R itself. example(varImpPlot) ran just fine in R-2.1.0. Please show _the_ example where you got the error. Andy > From: [EMAIL PROTECTED] > > Full_Name: Daniel Normolle > Version: 2.0.1 >

[Rd] Random Forests 4.5-10 varImpPlot (PR#7844)

2005-05-09 Thread monk
Full_Name: Daniel Normolle Version: 2.0.1 OS: Linux/Fedora Core 3 Submission from: (NULL) (141.214.17.5) varImpPlot in Random Forests 4.5-10 produces the error "incorrect number of subscripts on matrix" (and no plot) when applied to a randomForest object. This error did not occur with 4.5-4 o

Re: [Rd] Variable names with spaces in lm

2005-05-09 Thread Peter Dalgaard
Gabor Grothendieck <[EMAIL PROTECTED]> writes: > 'lm' gives an error when using variables with spaces in them > in certain cases (but not all): > > my.list <- list(`a 1` = 1:4, `a 2` = 11:14) > lm(`a 1` ~ ., my.list) # Error : Object "a.1" not found > > # The following work ok so it

[Rd] Variable names with spaces in lm

2005-05-09 Thread Gabor Grothendieck
'lm' gives an error when using variables with spaces in them in certain cases (but not all): my.list <- list(`a 1` = 1:4, `a 2` = 11:14) lm(`a 1` ~ ., my.list) # Error : Object "a.1" not found # The following work ok so it does work in many cases: lm(`a 1` ~ ., as.data.fr