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

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


I'm sorry, I didn't mean to be rude. Do you prefer including the entire 
original message when replying? Or perhaps I misunderstood you when you 
wrote:

 > Carriage returns usually don't matter in LaTeX, so I didn't even know 
about this option, though I use results=tex quite often. I had to look 
at the source to see where the newlines were going, and saw it there.

Could you please clarify? Thanks.


-Kirill


On 01/03/2014 11:39 AM, Duncan Murdoch wrote:
> It's dishonest to quote me out of context.
>
> Duncan Murdoch
>
> On 14-01-03 3:40 AM, Kirill Müller wrote:
>> 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.
>>
>>
>> -Kirill
>>
>



More information about the R-devel mailing list