[Rd] Sweave trims console output in "tex" mode

Kirill Müller kirill.mueller at ivt.baug.ethz.ch
Fri Jan 3 09:40:47 CET 2014

On 01/03/2014 02:34 AM, Duncan Murdoch wrote:
> Carriage returns usually don't matter in LaTeX
I'd rather say they do. One is like a space, two or more end a paragraph 
and start a new one. If newlines are stripped away, the meaning of the 
TeX code can change, in some cases dramatically (e.g. if comments are 
written to the TeX code).

Also, I don't understand why the option is called strip.white, at least 
for results=tex. The docs say that "blank lines at the beginning and end 
of output are removed", but the observed behavior is to remove the 
terminating carriage return of the output.


More information about the R-devel mailing list