Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow control of scientific notation in write_csv #679
Currently readr (using the grisu3 C library) decides that integers ending with more than two zeroes are printed using scientific notation in this line of code. This usually makes sense from a readability point of view, but gives non-uniform results in cases like this:
For cases like this, readability is better if scientific notation is avoided.
This pull request offers the possibility of disabling scientific notation on
Another loosely related issue is the fact that
This PR also addresses this issue, by offering a
Feel free to review and merge if you feel these features are worth it.
Currently i use hack from this post to bypass the issue
Still hope this pull request will be accepted.
Thank you for the pull request. I am not sure we want to go down the route of having a number of customization options for writing, part of the idea is to use standardized formatting.
I think we should simply turn off scientific formatting of integers entirely.