From maechler at stat.math.ethz.ch  Tue Jan 22 09:20:15 2008
From: maechler at stat.math.ethz.ch (maechler at stat.math.ethz.ch)
Date: Tue, 22 Jan 2008 09:20:15 +0100 (CET)
Subject: [Rd] gctorture and proc.time (PR#10600)
Message-ID: <20080122082015.0CA622834611@mail.pubhealth.ku.dk>

>>>>> "PD" == Peter Dalgaard <p.dalgaard at biostat.ku.dk>
>>>>>     on Tue, 22 Jan 2008 08:56:29 +0100 writes:

    PD> charlie at stat.umn.edu wrote:
    >> In R version 2.6.1 (2007-11-26)
    >> and R version 2.6.1 Patched (2008-01-19 r44061)
    >> on openSUSE 10.2 (X86-64)
    >> 
    >> 
    >>> gctorture()
    >>> proc.time()
    >>> 
    >> Error: protect(): protection stack overflow
    >> 
    >> The problem with this is that then
    >> 
    >> R CMD check --use-gct foo
    >> 
    >> ALWAYS FAILS with
    >> 
    >> 
    >>> cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n")
    >>> 
    >> Error in proc.time() - get("ptime", pos = "CheckExEnv") :
    >> non-numeric argument to binary operator
    >> 
    >> This does not happen in R version 2.4.1 (2006-12-18)
    >> 
    >> I was going to have my computing class try out --use-gct.
    >> I guess not until this is fixed.
    >> 
    >> 
    PD> I can reproduce this on SUSE 10.2 64 bit and Fedora 7 64 bit, but not on 
    PD> SUSE 10.3 32 bit and Fedora 8 32 bit. (The OS versions are likely not 
    PD> relevant, I bet it is a 64 bit issue somewhere).

    PD> -- 
    PD> O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
    PD> c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
    PD> (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
    PD> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907

I can confirm that:  64 bit is broken; 32 bit works  {Linux}

A bit embarrassing, given that quite a few R-corers have been using
more 64-bit than 32-bit in recent years.

Thanks a lot, Charlie for the report!
Martin



[Rd] gctorture and proc.time (PR#10600)
maechler at stat.math.ethz.ch