We have a very slight inconsistency in the treatment of logical
matrices with our three major factorizations:
qr() coerces to numeric , whereas
svd() and eigen() give an error.
I'm proposing to change svd() and eigen() such that they also
treat a logical matrix as if it was 0-1 , analogously
tabulate has
.C(R_tabulate, as.integer(bin), as.integer(length(bin)),
as.integer(nbins), ans = integer(nbins), PACKAGE=base)$ans
The implementation of R_tabulate has
if(x[i] != R_NaInt x[i] 0 x[i] = *nbin)
and so copes with (silently drops) NA. Perhaps the .C could have
Hi,
I have just updated R from version 2.8.1 to version 2.9.1. I am running
Windows XP Professional, Service Pack 3.
With the update, I decided to update a set of packages that I maintain
by compiling them for the new version. Everything worked fine except
for one package. This package
This has now been fixed in R-2.9 and R-devel by Martin Maechler.
Thanks
Kasper
On Jul 13, 2009, at 15:43 , Hervé Pagès wrote:
Hi Kasper and R developers,
Kasper Daniel Hansen wrote:
Using the IRanges package from Bioconductor and somewhat recent
R-2.9.1.
ov = IRanges(1:3, 4:6)
length(ov)
should be in devel now, NAs are ignored (as are non-integers and things
outside the nbin argument)
Martin Morgan wrote:
tabulate has
.C(R_tabulate, as.integer(bin), as.integer(length(bin)),
as.integer(nbins), ans = integer(nbins), PACKAGE=base)$ans
The implementation of R_tabulate