Skip to content
Back to formatted view

Raw Message

Message-ID: <199707250856.KAA17775@aragorn.ci.tuwien.ac.at>
Date: 1997-07-25T08:56:10Z
From: Kurt Hornik
Subject: R-alpha: New version of R for testing
In-Reply-To: <x2g1t4gox8.fsf@bush.kubism.ku.dk>

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