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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ross Ihaka writes: > Is this a bug or feature. Gaak! Hit the wrong button. Its on the list for changing. Ross =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-