December 24, 2014
In last weeks blog post introducing the new V8 package I showed how you can use
It turns out that typing
The code above loads the
But easier might be to read the data in R. Exit the prompt by pressing ESC, which gives you back R’s default
> prompt. From there we can read the retrieve the output object using
All of this will work seamlessly in most editors too. For example if you load this script in RStudio, you can execute it by selecting the code and pressing the Run button in the script editor, and it does exactly what you would expect!
myscript.js and then load it from R using