Re: [Rd] [R] make check reg-tests-1.R error on solaris

2009-02-25 Thread Prof Brian Ripley
Do you have a ZFS file system? That seems to be the common factor where people have actually told us. However, other Solaris 9/10/OpenSolaris systems work, as you will see from the R-admin manual. We cannot help with errors we cannot reproduce: rather we need someone with the problem to help

[Rd] Unexpected side effect of the ":::" operator on the value of isGeneric

2009-02-25 Thread Wolfgang Huber
Hi, when running the following on a fresh R, library("IRanges") annotation showMethods("annotation") Biobase:::annotation showMethods("annotation") I get (see the "^" marked output at the bottom): > library("IRanges") Carico il pacchetto richiesto: 'IRanges' The follo

Re: [Rd] invalid comparison in numeric sequence (PR#13551)

2009-02-25 Thread Petr Savicky
> > seq(0,1,0.1)==0.4 > [1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE > > seq(0,1,0.1)==0.6 > [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE > > seq(0,1,0.1)==0.8 > [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE > > What is w

Re: [Rd] [R] length 1 offset in glm (& lm)

2009-02-25 Thread Prof Brian Ripley
Some digging showed that this has not worked for a long time and the documentation is either legacy or wishful thinking. So for R-patched the right approach is to fix the documentation and I will do so shortly. As for model.frame() recycling: that sounds an appealing idea and I don't think I

Re: [Rd] S4 helper functions: regular or generic?

2009-02-25 Thread Martin Morgan
Hi Gopi -- Gopi Goswami writes: > Hi there, > > > I want to write helper functions for a base class, which will be used > by its subclasses in the S4 world. This function ___will___ update > certain slots of its argument object. Please help me decide which one > of the following is a better appr

Re: [Rd] [R] length 1 offset in glm (& lm)

2009-02-25 Thread Prof Brian Ripley
On Wed, 25 Feb 2009, Heather Turner wrote: This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way to continue thread in this case?) https://stat.ethz.ch/pipermail/r-help/2009-February/189352.html So let's be clear: this was the 'of

Re: [Rd] invalid comparison in numeric sequence (PR#13551)

2009-02-25 Thread John Nolan
This is one of the joys of floating point arithmetic. Look at the 7th element of seq(0,1,.1) - 0.6 Also, check the all.equal(x,y,tolerance=epsilon ) function. John -r-devel-boun...@r-project.org wrote: - To: r-de...@stat.math.ethz.ch From: alexandre.court...@gmail.com Sent by: r-d

Re: [Rd] [R] length 1 offset in glm (& lm)

2009-02-25 Thread Heather Turner
Prof Brian Ripley wrote: > On Wed, 25 Feb 2009, Kenneth Knoblauch wrote: > >> Hi >> >> Quoting Prof Brian Ripley : >> >>> On Wed, 25 Feb 2009, Heather Turner wrote: >>> This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way t

Re: [Rd] [R] length 1 offset in glm (& lm)

2009-02-25 Thread Peter Dalgaard
Prof Brian Ripley wrote: > On Wed, 25 Feb 2009, Kenneth Knoblauch wrote: > >> Hi >> >> Quoting Prof Brian Ripley : >> >>> On Wed, 25 Feb 2009, Heather Turner wrote: >>> This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way to

Re: [Rd] [R] length 1 offset in glm (& lm)

2009-02-25 Thread Prof Brian Ripley
On Wed, 25 Feb 2009, Kenneth Knoblauch wrote: Hi Quoting Prof Brian Ripley : On Wed, 25 Feb 2009, Heather Turner wrote: This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way to continue thread in this case?) https://stat.ethz.c

Re: [Rd] [R] length 1 offset in glm (& lm)

2009-02-25 Thread Heather Turner
This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way to continue thread in this case?) https://stat.ethz.ch/pipermail/r-help/2009-February/189352.html It does seem to be a bug, in that glm does not behave as documented. In fact the s

[Rd] S4 helper functions: regular or generic?

2009-02-25 Thread Gopi Goswami
Hi there, I want to write helper functions for a base class, which will be used by its subclasses in the S4 world. This function ___will___ update certain slots of its argument object. Please help me decide which one of the following is a better approach with respect to coding style, memory usage

Re: [Rd] invalid comparison in numeric sequence (PR#13551)

2009-02-25 Thread Peter Dalgaard
alexandre.court...@gmail.com wrote: > >> 0.6==0.6 > [1] TRUE >> seq(0,1,0.1)==0.4 > [1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE >> seq(0,1,0.1)==0.6 > [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE >> seq(0,1,0.1)==0.8 > [1] FALSE FALSE FALSE FALS

Re: [Rd] [R] learning R

2009-02-25 Thread markleeds
Hi Wacek: Somewhere I remember reading that environments have functionality like lists EXCEPT for the names part. IIRC, I think that I read this in the R Language Reference manual also. On Wed, Feb 25, 2009 at 4:32 AM, Wacek Kusnierczyk wrote: a quick follow-up: e = new.env() e$a

Re: [Rd] [R] Semantics of sequences in R

2009-02-25 Thread Wacek Kusnierczyk
Berwin A Turlach wrote: on the other hand, i have seen quite a few responses that were bashing a user for reporting a non-existent bug or submitting an annoying patch. >>> In didactic terms those are "negative motivations/reinforcements"; >>> opinion differ

Re: [Rd] [R] learning R

2009-02-25 Thread Wacek Kusnierczyk
a quick follow-up: e = new.env() e$a = 1 names(e) # NULL names(e) = 'a' # error in names(e) = "foo" : names() applied to a non-vector this is surprising. names(e) 'works', there is no complaint, but when names<- is used, the error is about the use of names, not names<-.

Re: [Rd] Box.test reference correction (PR#13554)

2009-02-25 Thread Prof Brian Ripley
Thank you, incorporated now. (My memory says we've been here before, so perhaps the correction did not get picked up last time around.) On Tue, 24 Feb 2009, soly...@stat.math.ethz.ch wrote: Full_Name: Peter Solymos Version: 2.8.1 OS: Windows Submission from: (NULL) (129.128.141.92) The hel