On Wed, 13 Mar 2024, Christofer Bogaso writes: > Hi, > > I run a lengthy for loop and I want to display loop status for each > step in my loop. > > I previously heard of a R function namely refresh.console() which > would print the status within the loop as it progresses. > > However I see this > >> help.search("refresh.console") > > No vignettes or demos or help files found with alias or concept or > > title matching ‘refresh.console’ using regular expression matching. > > Could you please help me find the correct function name? >
?flush.console ... but you'll need to print/message/cat/... explicitly in the loop, or the output won't be shown. [Also, options(warn=1) might be useful.] -- Enrico Schumann Lucerne, Switzerland http://enricoschumann.net ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.