Rdatatable / data.table Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fread fails to read 1-column file #2322
Comments
don't you just need to specify sep?
…On Aug 28, 2017 1:25 PM, "Pasha Stetsenko" ***@***.***> wrote:
Here's the file:
require(data.table)
fread("default payment next month
0.5524199604988098
0.24839693307876587
0.11578908562660217
0.12682904303073883
0.11796239763498306
0.14982038736343384
0.05930440500378609
0.16200894117355347
0.19789715111255646
0.12607525289058685
0.2425299435853958
0.07361350208520889
0.11026645451784134
0.5387383699417114")
produces
Error in fread("...") :
Line 1 has too few fields when detecting types. Use fill=TRUE to pad with NA.
Expecting 4 fields but found 1: << 0.5524199604988098>>
CC @arnocandel <https://github.com/arnocandel>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2322>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHQQdQa5b4OpxYEAJ0xw43bL5LPtaYETks5scunwgaJpZM4PEv32>
.
|
I can, but I shouldn't have to |
This is probably related to #1073 |
mattdowle
added a commit
that referenced
this issue
Oct 27, 2017
Closed by #2451 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's the file:
produces
CC @arnocandel
The text was updated successfully, but these errors were encountered: