New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable progress bar when in R-notebooks #793

Closed
jimhester opened this Issue Feb 14, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@jimhester
Member

jimhester commented Feb 14, 2018

https://community.rstudio.com/t/inline-notebook-display-is-slow-when-loading-data/5231

Hopefully the RStudio IDE sets an option we can use when code is running in a notebook, that we can add to show_progress() (I am pretty sure it does).

@huyunwei

This comment has been minimized.

huyunwei commented Mar 1, 2018

Thanks to @jimhester
I spent hours to figure out why readr::read_csv was times slower than base::read.csv , let alone data.table::fread
I reinstalled readr and tried all kinds of things, until I found the post mentioned above. It is clear in hindsight that interaction between the progress bar and the notebook kills the efficiency.
The default should be disabling progress bar in Notebook environment.

a-epstein added a commit to a-epstein/kickstarter that referenced this issue Aug 3, 2018

Remove progress bars, minor dplyr edits
Removed from dplyr selects and added a progress=FALSE to the read_csv based on the following issue: tidyverse/readr#793

@jimhester jimhester added this to the backlog milestone Nov 14, 2018

@jimhester jimhester closed this in dc5c652 Nov 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment