progress icon indicating copy to clipboard operation
progress copied to clipboard

Notebook chunk output

Open gregleleu opened this issue 7 years ago • 0 comments

Hi, I see the progress bar in the console, but it doesn't show up in the chunk output of my Rmd notebook (using Rstudio). I've tried within a purrr::map functions but also with simple implementations in loops, e.g.

pb <- progress_bar$new(total = max)
while(!stop){
  # do stuff
  pb$tick()
}

... and it never shows. Is there something I have to do for the progress bar to appear there? Or is due to how the pb works? (I've tried the force option with no luck... not sure what it does)

Session info if it helps... I'm working on a very large project...

> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS  10.14.1

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] progress_1.2.0     RPostgreSQL_0.6-2  DBI_1.0.0          bindrcpp_0.2.2     furrr_0.1.0        leaflet_2.0.2     
 [7] sf_0.7-1           rvest_0.3.2        xml2_1.2.0         future.apply_1.0.1 future_1.10.0      magrittr_1.5      
[13] forcats_0.3.0      stringr_1.3.1      dplyr_0.7.7        purrr_0.2.5        readr_1.1.1        tidyr_0.8.2       
[19] tibble_1.4.2       ggplot2_3.1.0      tidyverse_1.2.1   

loaded via a namespace (and not attached):
  [1] checkLuhn_1.1.0     utf8_1.1.4          proto_1.0.0         tidyselect_0.2.5    lme4_1.1-18-1       RSQLite_2.1.1      
  [7] htmlwidgets_1.3     grid_3.5.1          maptools_0.9-4      geojsonio_0.6.0     jqr_1.1.0           munsell_0.5.0      
 [13] codetools_0.2-15    units_0.6-1         chron_2.3-53        smbinning_0.7       withr_2.1.2         colorspace_1.3-2   
 [19] knitr_1.20          rstudioapi_0.8      stats4_3.5.1        ROCR_1.0-7          TTR_0.23-4          listenv_0.7.0      
 [25] labeling_0.3        rstan_2.18.1        urltools_1.7.1      bit64_0.9-7         rprojroot_1.3-2     xfun_0.4           
 [31] ggthemes_4.0.1      R6_2.3.0            dlookr_0.3.2        bitops_1.0-6        geojson_0.2.0       assertthat_0.2.0   
 [37] promises_1.0.1      networkD3_0.4       scales_1.0.0        nnet_7.3-12         debugme_1.1.0       rgeos_0.4-1        
 [43] gtable_0.2.0        globals_0.12.4      processx_3.2.0      sandwich_2.5-0      rlang_0.3.0.1       splines_3.5.1      
 [49] rgdal_1.3-6         lazyeval_0.2.1      acepack_1.4.1       selectr_0.4-1       inline_0.3.15       mapview_2.6.0      
 [55] broom_0.5.0         checkmate_1.8.5     yaml_2.2.0          reshape2_1.4.3      abind_1.4-5         modelr_0.1.2       
 [61] crosstalk_1.0.0     backports_1.1.2     httpuv_1.4.5        quantmod_0.4-13     Hmisc_4.1-1         rmapshaper_0.4.1   
 [67] inum_1.0-0          tools_3.5.1         tcltk_3.5.1         spData_0.2.9.4      gplots_3.0.1        kableExtra_0.9.0   
 [73] raster_2.8-4        RColorBrewer_1.1-2  jsonvalidate_1.0.0  gsubfn_0.7          Rcpp_0.12.19        plyr_1.8.4         
 [79] base64enc_0.1-3     classInt_0.2-3      prettyunits_1.0.2   ps_1.2.0            rpart_4.1-13        sqldf_0.4-11       
 [85] zoo_1.8-4           haven_1.1.2         cluster_2.0.7-1     fs_1.2.6            tinytex_0.9         DataExplorer_0.7.0 
 [91] data.table_1.11.8   magick_2.0          openxlsx_4.1.0      triebeard_0.3.0     mvtnorm_1.0-8       mitml_0.3-6        
 [97] matrixStats_0.54.0  hms_0.4.2           RcmdrMisc_2.5-1     mime_0.6            evaluate_0.12       xtable_1.8-3       
[103] DMwR_0.4.1          rio_0.5.10          readxl_1.1.0.9000   gridExtra_2.3       compiler_3.5.1      mice_3.3.0         
[109] KernSmooth_2.23-15  V8_1.5              crayon_1.3.4        StanHeaders_2.18.0  minqa_1.2.4         htmltools_0.3.6    
[115] later_0.7.5         Formula_1.2-3       libcoin_1.0-1       lubridate_1.7.4     corrplot_0.84       dbplyr_1.2.2       
[121] MASS_7.3-51.1       Matrix_1.2-15       car_3.0-2           cli_1.0.1           gdata_2.18.0        parallel_3.5.1     
[127] bindr_0.1.1         pan_1.6             igraph_1.2.2        pkgconfig_2.0.2     prettydoc_0.2.1     foreign_0.8-71     
[133] sp_1.3-1            geojsonlint_0.2.0   webshot_0.5.1       snakecase_0.9.2     callr_3.0.0         digest_0.6.18      
[139] janitor_1.1.1       rmarkdown_1.10      cellranger_1.1.0    htmlTable_1.12      nortest_1.0-4       curl_3.2           
[145] shiny_1.2.0         gtools_3.8.1        satellite_1.0.1     jomo_2.6-4          nloptr_1.2.1        nlme_3.1-137       
[151] jsonlite_1.5        carData_3.0-2       fansi_0.4.0         viridisLite_0.3.0   pillar_1.3.0        loo_2.0.0          
[157] lattice_0.20-38     pkgbuild_1.0.2      httr_1.3.1          survival_2.43-1     glue_1.3.0          xts_0.11-2         
[163] zip_1.0.0           png_0.1-7           bit_1.1-14          class_7.3-14        stringi_1.2.4       blob_1.1.1         
[169] moments_0.14        partykit_1.2-2      latticeExtra_0.6-28 caTools_1.17.1.1    memoise_1.1.0       e1071_1.7-0     

gregleleu avatar Nov 08 '18 11:11 gregleleu