From ihaka@stat.auckland.ac.nz  Thu May 29 05:01:37 1997
From: ihaka@stat.auckland.ac.nz (Ross Ihaka)
Date: Thu, 29 May 1997 16:01:37 +1200 (NZST)
Subject: R-alpha: 1:n is not integer
In-Reply-To: <9705270702.AA02619@>
References: <9705270702.AA02619@>
Message-ID: <199705290401.QAA15396@stat1.stat.auckland.ac.nz>

Martin Maechler writes:
 > 
 > This is from Snews of yesterday 
 > 
 > Snews> but the : operator creates integers as in
 > Snews> 
 > Snews> > is.integer(1:10)
 > Snews> [1] T
 > Snews> 
 > Snews> and even in
 > Snews> 
 > Snews> > is.integer(1:1)
 > Snews> [1] T
 > 
 > which reminds me of bug report  I had sent a while ago,
 > I think in pre-alpha times:
 > 
 >  MM>  In R,  1:n is   double (aka 'real') and not integer.

Is this a bug or feature.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: 1:n is not integer
Ross Ihaka