You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a progessbar for a parallel foreach loop but R-Studio always crashes when I use this package. Without it everything works without errors.
I am trying to create a progessbar for a parallel foreach loop but R-Studio always crashes when I use this package. Without it everything works without errors.
What am I doing wrong?
Probably nothing.
I've tried your example (using numVector <- 1:6) on R 4.1.2 on Linux and on MS Windows. For both operating system, I tried with R in the terminal as well as R in the RStudio Desktop.
I can confirm that using the 'beepr' handlers causes R to crash when using the RStudio Desktop on MS Windows. It works on Linux, and on MS Windows, it works fine when running R in the terminal and via the RGui interface. This smells like an RStudio Console issue/limitation. I'll investigate (beepr::beep() by itself seems to work just fine, and also when not using futures). If it cannot be fixed, at least progressr should prevent use of the 'beepr' handler in RStudio on MS Windows. Crashing is never acceptable.
Try again without using 'beepr', e.g.
handlers("progress")
or, the default:
handlers("txtprogressbar")
PS. Whenever troubleshooting, make sure to do so in a clean R environment. For example, it could be that one of your 123 loaded packages could cause a conflict here.
HenrikBengtsson
changed the title
Text progressbar for parallel foreach loops in R with OS windows crashed
Progress bar crashes R in RStudio on MS Windows when using beepr [edited]
Apr 20, 2022
Hi,
I am trying to create a progessbar for a parallel foreach loop but R-Studio always crashes when I use this package. Without it everything works without errors.
What am I doing wrong?
Here is my code:
And here my session:
The text was updated successfully, but these errors were encountered: