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

oehl_list at gmx.de oehl_list at gmx.de
Mon Dec 28 20:50:13 CET 2009


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)



More information about the R-devel mailing list