From huber at ebi.ac.uk  Mon Mar 19 15:49:31 2007
From: huber at ebi.ac.uk (Wolfgang Huber)
Date: Mon, 19 Mar 2007 14:49:31 +0000
Subject: [Rd] Carriage returns and Sweave output
In-Reply-To: <30B148B0-0C89-49BA-AEC9-160A6BA72D56@ic.ac.uk>
References: <30B148B0-0C89-49BA-AEC9-160A6BA72D56@ic.ac.uk>
Message-ID: <45FEA2FB.7030105@ebi.ac.uk>

Dear Ernest,

this may not be exactly what you asked for, but how about setting 
"results=hide" in the options of your code chunk?

Best wishes
   Wolfgang

------------------------------------------------------------------
Wolfgang Huber  EBI/EMBL  Cambridge UK  http://www.ebi.ac.uk/huber

Ernest Turro wrote:
> Dear all,
> 
> I have a code chunk in my Rnw file that, when executed, outputs  
> carriage return characters ('\r') to inform on the progress (e.g.  
> "sweep 4 of 1024\r"). But Sweave interprets this as a newline  
> character, and therefore I get countless pages of output in my  
> vignette where I only really want one line. Any ideas?
> 
> Thanks
> 
> E



[Rd] Carriage returns and Sweave output
Wolfgang Huber