"[.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
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
[[alternative HTML version deleted]]
__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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
>
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
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
'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