When I saw the example I thought this was using R, the statistical computing tool. But it's this tool itself that has an executable called R. I'd suggest renaming it.
I find it simple enough to fire up a REPL to inspect JSON. Node.js 4.0+ supports arrow functions, and you can use babel-node if you want even more future JS features.