I don't know the reason for this error, but you can/should probably switch to a different json parsing package. I can recommend jsonlite for that. RJSONIOhasn't been updated for more than 4 years so things ought to go wrong.
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: