Learn R Programming

hsdar (version 0.5.1)

hsdar_parallel: hsdar_parallel

Description

Get all functions which support parallel execution

Usage

hsdar_parallel()

Arguments

Value

Vector containing supported function names

Details

Parallel execution is performed via the foreach-package. Care is taken that a function will never run in parallel if the calling function is already using multicore processing.

Examples

Run this code
## Not run: 
# data(spectral_data)
# ## Load library
# library(doMC)
# ## Register number of workers
# registerDoMC(3)
# 
# supported_functions <- hsdar_parallel()
# supported_functions
# 
# ## Transform speclib using 3 cores
# bd <- transformSpeclib(spectral_data)
# ## End(Not run)

Run the code above in your browser using DataLab