You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Background Jobs: Newlines added, but also ignored, when outputting to stdout (works in stderr) #15325
// if this isn't the final line in the set, add a newline
if (i < lines.size() - 1)
{
output.append("\n");
}
The complication here happens because RStudio appends a bunch of progress markers into the generated output, and then tries to remove those when actually providing that output back to the front-end for display.
Activity
kevinushey commentedon Oct 16, 2024
Looks like this happens here:
rstudio/src/cpp/session/modules/jobs/ScriptJob.cpp
Lines 282 to 286 in e279d7d
The complication here happens because RStudio appends a bunch of progress markers into the generated output, and then tries to remove those when actually providing that output back to the front-end for display.