How to set up the native QGIS progress bar in your R script? - Stack Overflow

I'm trying this on R for QGIS:##Test=group##BucleTest=name##n_iteraciones=optional number 100pb

I'm trying this on R for QGIS:

##Test=group
##BucleTest=name
##n_iteraciones=optional number 100


pb <- txtProgressBar(min = 0, max = n_iteraciones, style = 3)

for (i in 1:n_iteraciones) {

print("Doing whatever")
  Sys.sleep(0.2)
  setTxtProgressBar(pb, i)
}


close(pb)

It does work, I can set this progress bar in the console of the process but I'm looking for manipulate the native progress bar of QGIS.

Anyone knows about it? ChatGPT said it's not possible...

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744403442a4572506.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信