Open fmichonneau opened 9 years ago
Is there a way to tell if the query is being run interactively vs as part of a script? Or direct output someplace that gets eaten when there is no console?
Is there a way to tell if the query is being run interactively vs as part of a script?
Yes, interactive()
returns TRUE when R is being run interactively.
We should probably use: https://github.com/gaborcsardi/progress
Looks like a nice package. I think this is a nicety now but we definitely will need to do this when the download API endpoints get added. ETA on that is July-ish after the next portal and indexes get rolled out.
Should we add a progress bar to monitor status of larger requests?