We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have used fread to read data. But the error has arisen:
showProgress is not type integer but type 'logical'. Please report.
Here is the reproducible script:
library(data.table) x <- "sgsddsfsfsf" write.csv2(x,"check.csv", row.names=FALSE) fread("check.csv", stringsAsFactor=FALSE)
The text was updated successfully, but these errors were encountered:
Try restarting R and running again. I can't reproduce your example (on v1.9.8):
library(data.table) x <- "sgsddsfsfsf" write.csv2(x,"check.csv", row.names=FALSE) fread("check.csv", stringsAsFactor=FALSE) # x # 1: sgsddsfsfsf
Can you give sessionInfo() if the problem still arises?
sessionInfo()
Sorry, something went wrong.
Detail see [here](http://stackoverflow.com/questions/40890999/error-in-fread-showprogress-is-not-type-integer-but-type-logical-please-repo.
The poblem still is still here.
Looks like I'm to blame - sorry. I changed the type of the showProgress global option to logical for fwrite : eb9f7ef
There was a strange problem in the past almost identical : #1111
With fresh eyes I don't see why showProgress wasn't type logical in the first place throughout. Will fix.
In the meantime, passing showProgress=1L or 0L to fread() should work. It's strange it only causes a problem on Windows.
showProgress=1L
0L
fread()
eb45306
No branches or pull requests
I have used fread to read data. But the error has arisen:
Here is the reproducible script:
The text was updated successfully, but these errors were encountered: