[Rd] dim(a <- ...) sets invisible flag erronously (PR#587)
maechler@stat.math.ethz.ch
maechler@stat.math.ethz.ch
Fri, 30 Jun 2000 20:15:51 +0200 (MET DST)
{Nothing really harmful; R 1.1.0}
dim(.) sets (or doesn't clear) the ``invisible flag'' for printing in
certain circumstances:
> dim(a <- cbind(1))
>
does *not* print as it should :
> dim(a)
[1] 1 1
---
Question to the real "hackers" :
How can I check this using R code alone (not using files),
i.e. (how) can I ask an R expression if its ``invisible flag'' is set or not ?
{help(invisible) doesn't help here}.
Maybe one would want an
is.invisible(.)
function?
--
Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._