This is recent R-devel, but AFAICT all R versions are affected.
Also AFAICT, currently only happens on macOS with Aqua, and on
Windows, unless you are in RTerm. These do not use R_Consolefile
Code to reproduce:
x <- paste0(strrep(".", 8191), "MIA")
#>  8194
## This is fine:
cat(x, file = stdout())
## This truncates silently:
cat(x, file = stderr())
It happens because the vfprintf callback of stderr() is stderr_vfprintf ,
and that just calls REvprintf , which truncates at 8191 characters , if
R_Consolefile is not used.
Rfirstname.lastname@example.org mailing list