Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upfread bug with colClasses #2922
Comments
arunsrinivasan
commented
Jun 2, 2018
•
|
|
|
Looks a little bit similar to #2863 but with numeric and integers. |
|
Yep, that's a bad one. It's in 1.11.4 and probably 1.11.0+. |
|
The fread(str, colClasses=c("integer", "NULL", "numeric", "character", "character"))
# x1 x2 x3 x4 x5
# 1: 1 2 1.5 T cc
# 2: 3 4 2.5 F ff |
|
@hstahl can you file this as a separate issue? TBH I had no idea |
|
I'm running 1.11.2 and just came across the same bug as @hstahl I have often found it's easier just to specify a list of c("character", "integer", "NULL", "integer" ...) rather than using drop, FWIW. |