r-lib/progress

Jupyter Notebook Support

Closed this issue · 3 comments

It seems that the packages does not support Jupyter notebook yet.
Can you please add such a feature?

PSAf or anyone using rpy2 in Jupyter notebooks: it works perfectly after passing force=TRUE.

As we are focusing on the progress bars in the cli package, I am going to close this now.

The option force=TRUE indeed causes the raw bar to be displayed in a Jupyter notebook, but each update happens on a different line (example provided below). Any way to keep the updates to a single line? @krassowski @gaborcsardi

==>-------------------------------------------------------------------  0s  0s

=====>----------------------------------------------------------------  0s  5s

=======>--------------------------------------------------------------  1s  4s

==========>-----------------------------------------------------------  1s  4s

=============>--------------------------------------------------------  1s  5s

================>-----------------------------------------------------  2s  6s

==================>---------------------------------------------------  2s  5s

=====================>------------------------------------------------  2s  5s

========================>---------------------------------------------  3s  5s

===========================>------------------------------------------  3s  4s

=============================>----------------------------------------  3s  4s

================================>-------------------------------------  4s  4s

===================================>----------------------------------  5s  5s

======================================>-------------------------------  6s  5s

========================================>-----------------------------  8s  6s

===========================================>--------------------------  9s  5s

==============================================>-----------------------  9s  4s

=================================================>--------------------  9s  4s

===================================================>------------------  9s  3s

======================================================>---------------  9s  3s

=========================================================>------------ 10s  2s

============================================================>--------- 10s  2s

==============================================================>------- 10s  1s

=================================================================>---- 10s  1s

====================================================================>- 11s  0s