I'm trying to use the fromJSON function in R to read in a JSON file that was given to me, however this file has NaN
in it and I can't read it in properly.
This is the error I get:
Error in feed_push_parser(buf) :
lexical error: invalid char in json text.
Anyone know how to read NaN
values when reading in a json file into R?
jsonlite
instead? – Contumeliousjsonlite
didn't work for me butRJSONIO
did. – Breakable