r-script icon indicating copy to clipboard operation
r-script copied to clipboard

A simple little module for passing data from NodeJS to R (and back again).

Results 35 r-script issues
Sort by recently updated
recently updated
newest added

When stderr and stdout gets data callback function get invoked twice. Devised following fix along with #6

It seems the callback ` R(RscriptName) .data({foo: bar} ) .call(callbackRscript) ` then callbackRscript seems to be called for each line of R output. I'd expected the callback is called once...

Hi -- not sure if this is still being managed, but I ran into this error and have a fix for it that might help others. I was running a...

Do you have any recommendations for debugging? ``` const R = require("r-script"); let results = R("../R/test.R") .data('') .callSync(); console.log(results); ``` returns null for any R script, including the most basic:...

When we are running the script and the R code throw an error the close callback is called with non parsable body and crash the node js application. To "gracefully"...