inst/examples/RcppProgressArmadillo/R/examples.R

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

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

Try the RcppProgress package in your browser

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

RcppProgress documentation built on March 26, 2020, 6:26 p.m.