flush.console
Flush Output to a ConsoleThis does nothing except on console-based versions of R. On the macOS and Windows GUIs, it ensures that the display of output in the console is current, even if output buffering is on.
flush.console()
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.