Re: [Rd] History of seq and seq.int

2010-10-04 Thread Prof Brian Ripley
The history is open for all to see. E.g. from the NEWS file (ONEWS in pre-2.12.0) entry for R 2.4.0 o There is a new primitive seq.int() which is slightly more restricted than seq() but often very much faster, and new primitives seq_along() and seq_len() which are faster st

[Rd] History of seq and seq.int

2010-09-29 Thread Radford Neal
I wonder what is the history of "seq" and "seq.int"? >From "help(seq)", one reads that "'seq.int' is an internal generic which can be much faster but has a few restrictions". And indeed, "seq.int(1,99,by=2)" is over 40 times faster than "seq(1,99,by=2)" in a quick test I just did. This is not