test_multithreaded: Test/example of using RcppProgress in sequential code, i.e...

Description Usage Arguments Details Value Author(s)

View source: R/examples.R

Description

Test function for the package rngOpenMP in a sequential mode.

Usage

1
  test_sequential(max=100, nb=1000, display_progress=TRUE)

Arguments

max

number of long computation jobs to perform

nb

number of interruptible steps a long computaton job is made of

display_progress

whether to display the progress bar or not

Details

Will perform max long jobs made of nb interruptible steps. The jobs are performed sequentially. The computation can be interrupted by the user.

Value

None

Author(s)

Karl Forner


RcppProgressExample documentation built on May 2, 2019, 4:44 p.m.