R-alpha: New version of R for testing

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Fri, 25 Jul 1997 10:56:10 +0200


>>>>> Peter Dalgaard BSA writes:

> Another piece of weirdness:

>> t(table(0))
> Error: dimnames: number of dimensions must equal number of names

> # That one used to cause a segmentation fault (my bug report for it
> # seems to have fallen off of the TASKS list - bug suicide?)

>> t(as.matrix(table(0)))
>      0
> [1,] 1

> # Looks OK now ... or is it? Watch:

>> ?ls
> Warning: invalid 'cutoff' for deparse, used default
> #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Indeed.  Was also on my bugs list, however with the

	t(table(1))

example.

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