Setzer.Woodrow@epamail.epa.gov
2001-Jun-26 19:13 UTC
[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)
I''ve successfully compiled R 1.3.0 on SGI (info below) but it fails make check. From base-Ex.Rout:> ## first days of years in the (commonly used) 20th century > seq(ISOdate(1901,1,1), ISOdate(1999,1,1), "years")Error in if (to <= from) stop("`to'' must be later than `from''") : missing value where logical needed Execution halted Indeed, from the same binary:> ISOdate(1901,1,1)[1] "NA"> ISOdate(1999,1,1)[1] "1999-01-01 07:00:00 EST" Does anyone have any ideas? --please do not edit the information below-- Version: platform = mips-sgi-irix6.5 arch = mips os = irix6.5 system = mips, irix6.5 status major = 1 minor = 3.0 year = 2001 month = 06 day = 22 language = R Search Path: .GlobalEnv, package:ctest, Autoloads, package:base R. Woodrow Setzer, Jr. Phone: (919) 541-0128 Experimental Toxicology Division Fax: (919) 541-5394 Pharmacokinetics Branch NHEERL MD-74; US EPA; RTP, NC 27711 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian Ripley
2001-Jun-26 19:32 UTC
[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)
On Tue, 26 Jun 2001 Setzer.Woodrow at epamail.epa.gov wrote:> I''ve successfully compiled R 1.3.0 on SGI (info below) but it fails make > check. From base-Ex.Rout: > > > ## first days of years in the (commonly used) 20th century > > seq(ISOdate(1901,1,1), ISOdate(1999,1,1), "years") > Error in if (to <= from) stop("`to'' must be later than `from''") : > missing value where logical needed > Execution halted > > Indeed, from the same binary: > > > ISOdate(1901,1,1) > [1] "NA" > > ISOdate(1999,1,1) > [1] "1999-01-01 07:00:00 EST" > > Does anyone have any ideas?1) Could you tell Debby Swayne how you got this to compile (see R-help)? 2) I suspect strptime on your machine is broken. Sorry ....> > --please do not edit the information below-- > > Version: > platform = mips-sgi-irix6.5 > arch = mips > os = irix6.5 > system = mips, irix6.5 > status > major = 1 > minor = 3.0 > year = 2001 > month = 06 > day = 22 > language = R > > Search Path: > .GlobalEnv, package:ctest, Autoloads, package:base > > R. Woodrow Setzer, Jr. Phone: > (919) 541-0128 > Experimental Toxicology Division Fax: (919) 541-5394 > Pharmacokinetics Branch > NHEERL MD-74; US EPA; RTP, NC 27711 > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help 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-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Peter Dalgaard BSA
2001-Jun-26 19:35 UTC
[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)
Setzer.Woodrow at epamail.epa.gov writes:> I''ve successfully compiled R 1.3.0 on SGI (info below) but it fails make > check. From base-Ex.Rout: > > > ## first days of years in the (commonly used) 20th century > > seq(ISOdate(1901,1,1), ISOdate(1999,1,1), "years") > Error in if (to <= from) stop("`to'' must be later than `from''") : > missing value where logical needed > Execution halted > > Indeed, from the same binary: > > > ISOdate(1901,1,1) > [1] "NA" > > ISOdate(1999,1,1) > [1] "1999-01-01 07:00:00 EST" > > Does anyone have any ideas?You probably have a problem in the substrate that ISOdate feeds on. Offhand, I''d suspect an overrun problem. Some systems that represent time as seconds since 1970 get in trouble in 2038, wouldn''t they also get in trouble from going more than 68 years backwards in time from 1970. Does it work if you replace 1901 with - say - 1910? To see if the rest checks out, you could comment out that example in the sources. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /''_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Setzer.Woodrow@epamail.epa.gov
2001-Jun-26 19:46 UTC
[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)
In fact, ISOdate fails with any date earlier than 1970 on this system:> ISOdate(1969,12,31)[1] "NA"> ISOdate(1970,1,1)[1] "1970-01-01 07:00:00 EST" The problem is in strptime:> strptime(paste(1970,1,1,12,0,0),"%Y %m %d %H %M %S")[1] "1970-01-01 12:00:00"> strptime(paste(1969,12,31,12,0,0),"%Y %m %d %H %M %S")[1] "NA" The man page for strptime doesn''t mention any limitations. R. Woodrow Setzer, Jr. Phone: (919) 541-0128 Experimental Toxicology Division Fax: (919) 541-5394 Pharmacokinetics Branch NHEERL MD-74; US EPA; RTP, NC 27711 Peter Dalgaard BSA To: Woodrow Setzer/RTP/USEPA/US at EPA <p.dalgaard at bios cc: r-help at hypatia.math.ethz.ch tat.ku.dk> Subject: Re: [R] make check fails for 1.3.0 on SGI at Sent by: ISOdate(1901,1,1) pd at pubhealth.ku. dk 06/26/01 03:35 PM Setzer.Woodrow at epamail.epa.gov writes:> I''ve successfully compiled R 1.3.0 on SGI (info below) but it fails make > check. From base-Ex.Rout: > > > ## first days of years in the (commonly used) 20th century > > seq(ISOdate(1901,1,1), ISOdate(1999,1,1), "years") > Error in if (to <= from) stop("`to'' must be later than `from''") : > missing value where logical needed > Execution halted > > Indeed, from the same binary: > > > ISOdate(1901,1,1) > [1] "NA" > > ISOdate(1999,1,1) > [1] "1999-01-01 07:00:00 EST" > > Does anyone have any ideas?You probably have a problem in the substrate that ISOdate feeds on. Offhand, I''d suspect an overrun problem. Some systems that represent time as seconds since 1970 get in trouble in 2038, wouldn''t they also get in trouble from going more than 68 years backwards in time from 1970. Does it work if you replace 1901 with - say - 1910? To see if the rest checks out, you could comment out that example in the sources. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /''_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian Ripley
2001-Jun-26 20:09 UTC
[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)
On Tue, 26 Jun 2001 Setzer.Woodrow at epamail.epa.gov wrote:> > In fact, ISOdate fails with any date earlier than 1970 on this system: > > > ISOdate(1969,12,31) > [1] "NA" > > ISOdate(1970,1,1) > [1] "1970-01-01 07:00:00 EST" > > The problem is in strptime: > > > strptime(paste(1970,1,1,12,0,0),"%Y %m %d %H %M %S") > [1] "1970-01-01 12:00:00" > > strptime(paste(1969,12,31,12,0,0),"%Y %m %d %H %M %S") > [1] "NA" > > The man page for strptime doesn''t mention any limitations.R''s or SGI''s? The limitation seems to be on SGI only, and I''ve sent privately some suggestions. Windows has (had before I fixed the code) the same problem, but then Microsoft didn''t exist in 1970 (although Bill Gates did, so he must have problems with his date of birth). -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Setzer.Woodrow@epamail.epa.gov
2001-Jun-26 20:17 UTC
[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)
Sorry, SGI''s man page doesn''t mention any limitations. R. Woodrow Setzer, Jr. Phone: (919) 541-0128 Experimental Toxicology Division Fax: (919) 541-5394 Pharmacokinetics Branch NHEERL MD-74; US EPA; RTP, NC 27711 Prof Brian Ripley To: Woodrow Setzer/RTP/USEPA/US at EPA <ripley at stats cc: r-help at stat.math.ethz.ch .ox.ac.uk> Subject: Re: [R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1) 06/26/01 04:09 PM On Tue, 26 Jun 2001 Setzer.Woodrow at epamail.epa.gov wrote:> > In fact, ISOdate fails with any date earlier than 1970 on this system: > > > ISOdate(1969,12,31) > [1] "NA" > > ISOdate(1970,1,1) > [1] "1970-01-01 07:00:00 EST" > > The problem is in strptime: > > > strptime(paste(1970,1,1,12,0,0),"%Y %m %d %H %M %S") > [1] "1970-01-01 12:00:00" > > strptime(paste(1969,12,31,12,0,0),"%Y %m %d %H %M %S") > [1] "NA" > > The man page for strptime doesn''t mention any limitations.R''s or SGI''s? The limitation seems to be on SGI only, and I''ve sent privately some suggestions. Windows has (had before I fixed the code) the same problem, but then Microsoft didn''t exist in 1970 (although Bill Gates did, so he must have problems with his date of birth). -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Deborah Swayne
2001-Jun-26 21:35 UTC
[R] make check fails for 1.3.0 on SGI at ISOdate(1901,1,1)
On Tue, Jun 26, 2001 at 08:32:12PM +0100, Prof Brian Ripley wrote:> On Tue, 26 Jun 2001 Setzer.Woodrow at epamail.epa.gov wrote: > > 1) Could you tell Debby Swayne how you got this to compile (see R-help)?He and I have been in correspondance all day, and he did indeed help me. Debby -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._