Open tnvrsingh opened 6 years ago
In my use case, im redirecting the output to a file, than reading it from node R file
write(jsonscore, file = paste0( "path/", "myResult.json"))
const rolefitResult = require('path/myResult.json');
The last line of your R file is returned to the parent
Say that my R script returns a single value. How am I supposed to get it back from R to my Node Application?