read_delim converts "." to "0" #297
Closed
Comments
Minimal reprex: collector_guess("-")
collector_guess(".") |
@hadley Just to be clear, we want the following collector_guess("-")
#> character
collector_guess(".")
#> character |
Right. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The problem is that "." is parsed as a number like ".0", and as a result it returns "0". That's why adding locale = locale(decimal_mark = ",", grouping_mark = "_") to read_delim helps. Here is an example:
Apart of that it converts "+" and "-" to NA or "0" and that I just do not understand, e.g:
The text was updated successfully, but these errors were encountered: