[Rd] seq.int broken (seq as well) (PR#14169)

From: <oehl_list_at_gmx.de>
Date: Mon, 28 Dec 2009 20:50:13 +0100 (CET)


Full_Name: Jens Oehlschlägel
Version: 2.10.1
OS: Windows XP
Submission from: (NULL) (156.109.18.2)

# fine as expected from help page: 
# "from+by, ..., up to the sequence value less than or equal to to"
# thus 1+10=11 is not in

> seq.int(1L, 10L, by=10L)

[1] 1

# of course 1+1e7 should also not be in
# but is: wrong
> seq.int(1L, 1e7L, by=1e7L)

[1] 1e+00 1e+07

# since we use seq.int AND are within integer range, rounding should not be an issue

> version

               _                            
platform       i386-pc-mingw32              
arch           i386                         
os             mingw32                      
system         i386, mingw32                
status                                      
major          2                            
minor          10.1                         
year           2009                         
month          12                           
day            14                           
svn rev        50720                        
language       R                            
version.string R version 2.10.1 (2009-12-14)

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 29 Dec 2009 - 12:43:57 GMT

This archive was generated by hypermail 2.2.0 : Thu 31 Dec 2009 - 12:11:17 GMT