Reputation: 1298
Is there any ways to print message during big file load or time consuming processing and calculations in R? if it will be with some countdown timer it will be also great. Thank's for suggestions.
Upvotes: 0
Views: 195
Reputation: 49650
Look at the functions txtProgressBar
, winProgressBar
(windows only), and tkProgressBar
(tcltk package). These can be used to show a progress bar to indicate how far along in a long process you are. Some of them have room for a label that you could use to give a more specific message.
There are a few functions that will use these (the plyr
package), otherwise you need to code the updates yourself, but this is pretty simple if you are using a loop or one of the *apply
functions.
Upvotes: 2