-
-
Notifications
You must be signed in to change notification settings - Fork 42
Show simulation progress #103
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
Labels
Comments
Finally, implemented in library(simmer)
library(progress)
mm1 <- trajectory() %>%
seize("server", 1) %>%
timeout(function() rexp(1, 66)) %>%
release("server", 1)
simmer() %>%
add_resource("server", 1) %>%
add_generator("customer", mm1, function() rexp(100, 60)) %>%
run(3000, progress=progress_bar$new()$update, steps=10) |
Excellent! |
Briliant! this example really need to be added to run() documentation, took me a couple of hours of digging before I found this and only through the ChangeLog. |
Thanks for the feedback! That manual page definitely needs some examples. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With a helper verb such as the following:
The text was updated successfully, but these errors were encountered: