r-lib / R6

Encapsulated object-oriented programming for R
https://R6.r-lib.org
Other
407 stars 56 forks source link

Fix printing classes/instances to the console, add trailing \n #7

Closed gaborcsardi closed 10 years ago

gaborcsardi commented 10 years ago

Priting in RStudio was fine, because it probably adds a newline as needed before printing the prompt. On the console a final trailing newline was missing, which was annoying, because the prompt appeared right at the end of the last line of the printout.