R: directing output to file on the fly, output flushing

    To start sending all output to a file, do this:

    Related to this I recently had to use:

    This forces your console to print out any buffered content. Doing this will cost time, but if you are running a very long script and wonder if it is still alive, you might do something like this:

    (Follow the link for other posts by Matt Asher)


    If you wish to comment or finish reading the full article, please visit: "R: directing output to file on the fly, output flushing"

    Share with Friends