Skip to content

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

1 message · Brian Ripley

#
On Fri, 21 Oct 2005, Emmanuel Paradis wrote:

            
You do not: as the help file says

      Negative-width fields are used to indicate columns to be skipped,
      eg '-5' to skip 5 columns.  These fields are not seen by
      'read.table' and so should not be included in a 'col.names' or
      'colClasses' argument.
What happens if there are multi-line records?  Your `fix' crashes.
Not so: please check the current version.