Skip to content
Prev 18219 / 63424 Next

read.fwf doesn't work with header = TRUE (PR#8226)

Prof Brian Ripley wrote:
OK, but it is strange to me to not have all variables named in a header 
line.
It crashes anyway because it should be [!drop] and not [drop] ;)
Here is what I have in R 2.2.0:

      sep: character; the separator used internally; should be a
           character that does not occur in the file.

So, should the fix be simply:

38c38
<         cat(FILE, headerline, "\n")
---
 >         cat(file = FILE, headerline, "\n")

?