Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIdea for a text/binary sniffing function. Want it? #236
Comments
This comment has been minimized.
This comment has been minimized.
Is this OS specific? |
This comment has been minimized.
This comment has been minimized.
I don't think so but I'll write some tests and see what the CI servers say. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bokov commentedOct 4, 2019
Please specify whether your issue is about:
I got fed up the fact that my OS seems to always know which files are plain-text and yet my own code never does, so I did some googling and found this: https://stackoverflow.com/questions/32184809/python-file1-why-are-the-numbers-7-8-9-10-12-13-27-and-range0x20-0x100
That led to the function below. I'd rather contribute it to an existing package than try to tackle CRAN maintenance on my own, so if the below seems useful to include among rio's utilities I'll submit it as a PR.
Put your code here: