R-alpha: 1:n is not integer

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Tue, 27 May 97 09:02:10 +0200


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.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-