R/examples.R

Defines functions test_sequential test_multithreaded

Documented in test_multithreaded test_sequential

test_sequential <- function(max=100, nb=1000, display_progress=TRUE) {
	.Call("test_sequential_wrapper2", max, nb, display_progress, PACKAGE = "RcppProgressExample")
	invisible()
}

test_multithreaded <- function(max=100, nb=1000, threads=0, display_progress=TRUE) {
	.Call("test_multithreaded_wrapper2", max, nb, threads, display_progress, PACKAGE = "RcppProgressExample")
	invisible()
}

Try the RcppProgressExample package in your browser

Any scripts or data that you put into this service are public.

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