-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
callback in async call called to often #12
Comments
Hi,
The spawn method runs asynchronously and should listen for events In the implementation, the events Many R script write "debug" or "warning" data during its execution. In my case, for example I can see things like
So the implementation should change to wait for the
I was trying that implementation and the R scripts run async with no problems. I could make an Pull Request if you prefer. Regards, |
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 R is done and then with one parameter with all the lines from R output.
The text was updated successfully, but these errors were encountered: