R-alpha: (minor?) S/R inconsistency: mode(unclass(terms(...)))

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Wed, 27 Aug 1997 17:11:50 +0200


I just stumbled over the following :

  mode(utf <- unclass(tf <- terms( ~ (x + y + z)^2)))
  ## R:  "call"
  ## S:  "expression"

Don't know if/when this could be important.
It made a big difference for me, but this was in low-level
experimentation...

-- Martin
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-