[Rd] bug in read.table (PR#2764)

Michael.Man at pfizer.com Michael.Man at pfizer.com
Fri Apr 11 17:02:29 MEST 2003


Hi, there might be a bug in read.delim (also read.table) in R.1.6.2.  I
included the correct input done in R1.6.1 first, then the wrong input in
R1.6.2.  The discrepancies are highlighted in red.

Michael Man  


####### correct input in R1.6.1 ##########################
> version
         _              
platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    1              
minor    6.1            
year     2002           
month    11             
day      01             
language R  

Browse[1]> jk2_read.delim(hd.file,sep="\t")
Browse[1]> jk2[4:6,]
  Wells    Drug Time Dose Animal.number Replicate
4    A4 Control                       2         a
5    A5 Control                       2         b
6    A6 Control                       2         c


##### bug below ######################
> version
         _              
platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    1              
minor    6.2            
year     2003           
month    01             
day      10             
language R             

Browse[1]> jk2_read.delim(hd.file,sep="\t")
Browse[1]> jk2[4:6,1:6]
   AWells    Drug Time Dose Animal.number Replicate 
4      A4 Control                       2         a   
5       5 Control                       2         b   
6      A6 Control                       2         c 



LEGAL NOTICE\ Unless expressly stated otherwise, this message is... {{dropped}}



More information about the R-devel mailing list