Displaying 4 results from an estimated 4 matches for "nonsyntactic".
2007 Apr 08
1
buglet in terms calculations
...ot;)]
The variable attribute, in the terms object, keeps them as quotes, so
modeling code that uses that attribute seems fine, but code that uses
the term.labels fails. In particular, it seems (of those tested) that
glm, lda, randomForest seem to work fine, while nnet, rpart can't
handle nonsyntactic names in formulae as such
In particlar, rpart contains this code:
lapply(m[attr(Terms, "term.labels")], tfun)
which fails for the reasons given.
One way to get around this, might be to modify the do_termsform code,
right now we have:
PROTECT(varnames = allocVector(STRSX...
2004 Aug 28
6
model.matrix.default chokes on backquote (PR#7202)
Full_Name: Gabor Grothendieck
Version: R version 1.9.1, 2004-08-03
OS: Windows XP
Submission from: (NULL) (207.35.143.52)
The following gives an error:
> `a(b)` <- 1:4
> `c(d)` <- (1:4)^2
> lm(`a(b)` ~ `c(d)`)
Error in model.matrix.default(mt, mf, contrasts) :
model frame and formula mismatch in model.matrix()
To fix it replace this line in model.matrix.default:
2004 Oct 04
7
R 2.0.0 is released
...tor of length >=2.
(PR#7205)
o The GNOME interface was in some circumstances failing if run
from a menu -- it needed to always specify that R be interactive.
o depMtrxToStrings (part of pkgDepends) applied nrow() to a
non-matrix and aborted on the result.
o Fix some issues with nonsyntactical names in modelling code
(PR#7202), relating to backquoting. There are likely more.
o Support for S4 classes that extend basic classes has been fixed
in several ways. as() methods and x at .Data should work better.
o hist() and pretty() accept (and ignore) infinite values. (PR#7220)...
2004 Oct 04
7
R 2.0.0 is released
...tor of length >=2.
(PR#7205)
o The GNOME interface was in some circumstances failing if run
from a menu -- it needed to always specify that R be interactive.
o depMtrxToStrings (part of pkgDepends) applied nrow() to a
non-matrix and aborted on the result.
o Fix some issues with nonsyntactical names in modelling code
(PR#7202), relating to backquoting. There are likely more.
o Support for S4 classes that extend basic classes has been fixed
in several ways. as() methods and x at .Data should work better.
o hist() and pretty() accept (and ignore) infinite values. (PR#7220)...