Learn R Programming

umx (version 1.4.0)

umx_check_parallel: umx_check_parallel

Description

Shows how many cores you are using, and runs a test script so user can check CPU usage

Usage

umx_check_parallel(nCores = -1, testScript = NULL, rowwiseParallel = TRUE, nSubjects = 1000)

Arguments

nCores
How many cores to run (defaults to -1 (all available))
testScript
A user-provided script to run (NULL)
rowwiseParallel
Whether to parallel-ize rows (default) or gradient computation
nSubjects
Number of rows to model (Default = 1000) Reduce for quicker runs.

Value

- NULL

References

- http://tbates.github.io, https://github.com/tbates/umx

See Also

Other Test: umx_check_OS, umx_check_model, umx_check_names, umx_check, umx_has_CIs, umx_has_been_run, umx_has_means, umx_has_square_brackets, umx_is_MxData, umx_is_MxMatrix, umx_is_MxModel, umx_is_RAM, umx_is_cov, umx_is_endogenous, umx_is_exogenous, umx_is_ordered

Examples

Run this code
## Not run: 
# # On a fast machine, takes a minute with 1 core
# umx_check_parallel()
# ## End(Not run)

Run the code above in your browser using DataLab