[Rd] base package: extra new line at source() function

Jakson Alves de Aquino jalvesaq at gmail.com
Fri Dec 7 00:19:04 CET 2012


When we do source("file.R", echo = TRUE) the output on R Console
includes an extra new line between each line of code. The extra "\n"
is added on line 201 of src/library/base/R/source.R (please, see
attached patch). I tested the function without this "\n" on an
terminal emulator in Linux and on R Console in Windows RGui. I don't
know if the "\n" is useful in other circumstances.


Jakson Alves de Aquino
Federal University of Ceará
Social Sciences Department

More information about the R-devel mailing list