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 upFR for `fread`: if `select` is used, `colClasses` need only correspond to the columns in `select` #1426
Comments
|
What about just reversing the order of dealing with |
|
+1 for this, also annoying me. Will try to check. |
|
Quite a few issues marked for v1.9.8 already. Can't take a look anytime soon. Glad if you could look into this. Thanks. |
|
Really need this. |
I never filed a FR for a question I raised a year ago on SO.
The current canon for using
selectandcolClassessimultaneously is (IMO) unwieldy.Consider:
Here's the best I could come up with as a programmatic way to use
fread:(gross; could be spelled out explicitly as the following, but this is generally unsatisfying:)
To me it would make much more sense to be able to simply write:
But this currently produces the error:
Parsimonious, and as far as I can tell unambiguous. Any reason why this wouldn't work?