-
Notifications
You must be signed in to change notification settings - Fork 38
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
Feature request: Capture all R Console output with timestamp? #243
Comments
That is not possible for processx, but it is possible to callr. In fact, it is basically already implemented in the asciicast package, which creates a JSON file with time stamps. |
@schloerke It sounds like a rework of |
I hope I'm not missing something obvious, but I don't see any usage (other than within testing code) of I do see multiple usages of |
asciicast does not use callr, it is an alternative. It uses an embedded R in a subprocess instead of running the usual R executable from the terminal, which allows a lot more control. So you cannot substitute callr with asciicast. But the same mechanism that is in asciicast is coming to callr soonish, and then you can have timestamps in the output. |
Sounds good. I look forward to the upcoming feature in |
Awesome, appreciative of the discussion and look forward to the forthcoming |
Original thread on
{shinytest2}
for context.Can there be an option to toggle timestamping of output from stderr (and also stdout) for a
processx
background r process viar_bg
?The text was updated successfully, but these errors were encountered: