From p.dalgaard@biostat.ku.dk  Thu May 10 10:07:19 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 10 May 2001 11:07:19 +0200
Subject: [Rd] Re: PR#929 and [R] matrix: suspected integer overflow
In-Reply-To: ripley@stats.ox.ac.uk's message of "Thu, 10 May 2001 08:31:16 +0200 (MET DST)"
References: <200105100631.IAA01466@pubhealth.ku.dk>
Message-ID: <x2g0ed608o.fsf@blueberry.kubism.ku.dk>

ripley@stats.ox.ac.uk writes:

> However, I am not happy with what IntegerFromReal does: it gives the
> maximum integer and the message.  I think it would be much better to return
> NA in that cirumstance, when most uses of asInteger would give up
> (correctly) and generate a meaningful error.
> 
> Comments, R-core?

Agreed.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Re: PR#929 and [R] matrix: suspected integer overflow
Peter Dalgaard BSA