[R-SIG-Mac] Annoying newline character saved in command history

soeren.vogel at eawag.ch soeren.vogel at eawag.ch
Sat Feb 14 18:09:35 CET 2009

Dear R.app developers

Love your nice application, thank you!

When using R.app, the command history also saves newline characters  
executing commands. That is, every time when repeating commands via  
the arrow-up keystroke, another newline character is added to the  

Example output from an operation:

 > x <- seq(1:2); x
[1] 1 2
 > x <- seq(1:2); x
[1] 1 2
 > x <- seq(1:2); x
[1] 1 2

This might be a bug since the final newline character marks the  
command execution but not a real new line. This behaviour does not  
occur when executing R via the Terminal.app.



R 2.8.1 GUI 1.27 Tiger build 32-bit (5301) running on a MacBook Pro  
with Tiger 10.5.6

 > sessionInfo()
R version 2.8.1 (2008-12-22)


attached base packages:
[1] graphics  grDevices utils     datasets  stats     methods   base

other attached packages:
[1] lattice_0.17-20 foreign_0.8-31

loaded via a namespace (and not attached):
[1] grid_2.8.1  tools_2.8.1

More information about the R-SIG-Mac mailing list