title: Peak to get header values of CSV in R
body: <p>I would like to set <code>colClasses</code> programmatically based on text in the header, but first I need to peak into the csv to get the header names that will then be used to set <code>colClasses</code>. How would I go about peaking? Is there a way of doing this without loading the file?</p>