fread
creates a data.table
. The data.table
package comes with a number of vignettes; see the website to read more: https://rdatatable.gitlab.io/data.table/
Actually since this question was posted, the internals of data.table
have changed such that pre[ , 1]
now works as originally expected.