
Calculate the sum of a vector of numbers using multiple threads.
Source:R/sum_with_threads.R
sum_with_threads.RdCalculate the sum of a vector of numbers using multiple threads.
Examples
sum_with_threads(c(1,2), 2)
#> [1] 3

R/sum_with_threads.R
sum_with_threads.RdCalculate the sum of a vector of numbers using multiple threads.
sum_with_threads(c(1,2), 2)
#> [1] 3