When I use fread, I get this error (NAstring <<0>> is recognized as type boolean, this is not permitted)
na.strings = c("", "-", "_", "..", "...", "--", "**", "" ,
"n/a", "n.a.", "#VALUE!", "0", "Inf", "-Inf", "NAN", "r", "e")
If I removed "0" from na.strings, fread is not getting error.
However, cells that contains "r" or "e", is not converted to NA, and their columns are characters.
Please advise.
When I use fread, I get this error (NAstring <<0>> is recognized as type boolean, this is not permitted)
na.strings = c("", "-", "_", "..", "...", "--", "**", "" ,
"n/a", "n.a.", "#VALUE!", "0", "Inf", "-Inf", "NAN", "r", "e")
If I removed "0" from na.strings, fread is not getting error.
However, cells that contains "r" or "e", is not converted to NA, and their columns are characters.
Please advise.