Skip to content

Show simulation progress #103

@Enchufa2

Description

@Enchufa2

With a helper verb such as the following:

run_with_progress <- function(.env, until=1000, steps=10) {
  for (i in seq(until/steps, until, until/steps)) {
    run(.env, until=i)
    message(paste0(100*i/until, "%"))
  }
  .env
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions