Re: [Rd] eigen returns NAs from a real matrix

2007-03-17 Thread Prof Brian Ripley
On Sat, 17 Mar 2007, Spencer Graves wrote: > Hi, All: > Attached please find a symmetric, indefinite matrix for which > 'eigen(...)$vectors' included NAs: >> load("eigenBug.Rdata") >> sum(is.na(eigen(eigenBug)$vectors)) > [1] 5670 >> sessioninfo() > Error: could not find function "sessioninf

[Rd] eigen returns NAs from a real matrix

2007-03-17 Thread Spencer Graves
Hi, All: Attached please find a symmetric, indefinite matrix for which 'eigen(...)$vectors' included NAs: > load("eigenBug.Rdata") > sum(is.na(eigen(eigenBug)$vectors)) [1] 5670 > sessioninfo() Error: could not find function "sessioninfo" > sessionInfo() R version 2.4.1 (2006-12-18) i386

Re: [Rd] Wishlist: Make screeplot() a generic (PR#9541)

2007-03-17 Thread maechler
> "GS" == Gavin Simpson <[EMAIL PROTECTED]> > on Sat, 17 Mar 2007 13:02:29 + writes: GS> Dear List GS> Having not received any comments for or against my proposal to make GS> screeplot() a generic function, I found some time to make the relevant GS> changes to the s

Re: [Rd] R 2.5.0 devel try issue in conjuntion with S4 method dispatch

2007-03-17 Thread Seth Falcon
Peter Dalgaard <[EMAIL PROTECTED]> writes: > I have just committed my variation of Seth's patch, so please check the > current r-devel too. Thanks, Peter. And I agree that your variation is cleaner. -- Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center http://biocondu

Re: [Rd] Wishlist: Make screeplot() a generic (PR#9541)

2007-03-17 Thread Gavin Simpson
Dear List Having not received any comments for or against my proposal to make screeplot() a generic function, I found some time to make the relevant changes to the svn trunk repository (revision 40848). Please find attached a patch against the R svn trunk sources including changes to the relevant

Re: [Rd] Support for noarch packages in /usr/share/R/library

2007-03-17 Thread Prof Brian Ripley
There is nothing in the R definition of a package to indicate if it is architecture-specific or not. Further, one version of a package might be, but an updated version might not (as has just happened with 'ifa'). Thus there are currently no 'noarch' R packages. [For those who miss the subtleti

Re: [Rd] Periods in package names?

2007-03-17 Thread Prof Brian Ripley
On Mon, 5 Mar 2007, Henrik Bengtsson wrote: > Hi, > > is it ok to have more than one period in a package name, e.g. > aroma.light.bioc? > > I remember there was once a limitation/a recommendation that one > should use at most one period in a package name. I just browsed > "Writing R Extensions"

Re: [Rd] R 2.5.0 devel try issue in conjuntion with S4 method dispatch

2007-03-17 Thread Peter Dalgaard
Matthias Burger wrote: > Hi Seth, > > I applied your patch and the issues seems to be resolved. Now I just wait > to see if all test case failures related to this disappear. > > Thank you for your kind help! > > Matthias > I have just committed my variation of Seth's patch, so please

Re: [Rd] R 2.5.0 devel try issue in conjuntion with S4 method dispatch

2007-03-17 Thread Matthias Burger
Hi Seth, >It isn't S4 specific. The issue seems more about anonymous >calls/functions. > > ll = list() > ll[[1]] = function(x) stop("died") > > v = try(do.call(ll[[1]], list(1)), silent=TRUE) > Error in as.list(call)[[1]] == "doTryCatch" : > comparison (1) is possible only for atom