[Rd] Console in RGui does not do CR on \r (PR#4705)

david.lenn at rtsson.com david.lenn at rtsson.com
Tue Oct 21 16:21:59 MEST 2003

Full_Name: David Lennartsson
Version: 1.7.1, 1.8.0
OS: Windows XP
Submission from: (NULL) (

A very minor bug, but here it comes. On doing something as simple as cat("1st
test string\r2nd\n") the console in RGui on Windows do not perform a CR on '\r'.
This is very annoying if you for example want to have a simple progress meter
when running a batch job. It works fine in Rterm. 

The same goes for using Rprintf() in a compiled function. Rterm honours '\r' but
not Rgui.

More information about the R-devel mailing list