[Rd] Carriage returns and Sweave output

Ernest Turro ernest.turro at ic.ac.uk
Mon Mar 19 14:47:47 CET 2007


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



More information about the R-devel mailing list