Learn R Programming

RcppProgress (version 0.2.1)

test_sequential: Test/example of using RcppProgress in sequential code, i.e not in multithreaded code

Description

Test function for the package rngOpenMP in a sequential mode.

Usage

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

Value

  • None

Details

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