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 command. Example output from an operation: <pre> > x <- seq(1:2); x [1] 1 2 > x <- seq(1:2); x [1] 1 2 > > x <- seq(1:2); x [1] 1 2 > > > </pre> 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. S?ren Notes: 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) i386-apple-darwin8.11.1 locale: de_CH.UTF-8/de_CH.UTF-8/C/C/de_CH.UTF-8/de_CH.UTF-8 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
Annoying newline character saved in command history
2 messages · soeren.vogel at eawag.ch, Simon Urbanek
1 day later
S?ren, I think you may want to enable "Cleanup history entries" in the R.app preferences. In fact that's the default, so I suspect you may have disabled it at some point. Cheers, Simon
On Feb 14, 2009, at 12:09 , soeren.vogel at eawag.ch wrote:
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 command. Example output from an operation: <pre>
x <- seq(1:2); x
[1] 1 2
x <- seq(1:2); x
[1] 1 2
x <- seq(1:2); x
[1] 1 2
</pre> 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. S?ren Notes: 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) i386-apple-darwin8.11.1 locale: de_CH.UTF-8/de_CH.UTF-8/C/C/de_CH.UTF-8/de_CH.UTF-8 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
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac