Skip to content
Prev 278259 / 398513 Next

Header = T

On Nov 23, 2011, at 10:03 , Jim Lemon wrote:

            
Actually, no. It's a "little obscurity" alright, but the root cause is that the help file was originally written for read.table, with read.csv and friends as later bolt-ons. These actually call read.table internally, but if the header argument is missing to read.csv, the default (TRUE) will be passed to read.table. Thus, there is no way to induce the first-line-shorter logic. No big deal; nobody writes CSV files following that convention anyway. 

The situation is in turn a niggle in the R language itself: missingness does not propagate.