形成了一个额外的空进度条,为什么?

时间:2017-07-10 14:26:30

标签: r progress-bar

我开发了多个功能,可以完成整个特定任务。每个功能都以打印文本开始,然后使用进度条。执行第一个函数后,有一个空的进度条。我已检查每个函数的txtProgressBargetTxtProgressBarclose的一致性。他们似乎是正确的。可能导致问题的原因是什么?

[1] "*** Obtaining the requested data for test ***"
  |================================================================| 100%
  |                                                                |   0%[1]
"*** Performing the requested statistical analyses for test ***"
  |================================================================| 100%
[1] "*** Preparing the requested heatmaps for test ***"
  |================================================================| 100%
[1] "*** Preparing the requested excel file(s) for test ***"
  |================================================================| 100%

1 个答案:

答案 0 :(得分:0)

我自己找到了原因。在第二个函数中,print函数被错误地放在txtProgressBargetTxtProgressBar之间。

相关问题