The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Title: R-Friendly Threading in C++
Version: 2.2.0
Description: Provides a C++11-style thread class and thread pool that can safely be interrupted from R. See Nagler (2021) <doi:10.18637/jss.v097.c01>.
Depends: R (≥ 3.3.0)
License: MIT + file LICENSE
Encoding: UTF-8
URL: https://github.com/tnagler/RcppThread
BugReports: https://github.com/tnagler/RcppThread/issues
RoxygenNote: 7.3.2.9000
Suggests: testthat, R.rsp, Rcpp
VignetteBuilder: R.rsp
NeedsCompilation: yes
Packaged: 2025-01-07 13:02:50 UTC; n5
Author: Thomas Nagler ORCID iD [aut, cre]
Maintainer: Thomas Nagler <mail@tnagler.com>
Repository: CRAN
Date/Publication: 2025-01-07 13:50:02 UTC

R-friendly C++11 threads

Description

Provides a C++11-style thread class and thread pool that can safely be interrupted from R.

Author(s)

Maintainer: Thomas Nagler mail@tnagler.com (ORCID)

References

Nagler, T. (2021). "R-Friendly Multi-Threading in C++." Journal of Statistical Software, Code Snippets, 97(1), 1-18. doi:10.18637/jss.v097.c01.

See Also

Useful links:


Get portable linker flags for libraries building on RcppThread

Description

To be used in Makevars on Linux and OSX. Returns a string with linker flags for pthread and libatomic, if available.

Usage

LdFlags()

Details

Use as ‘PKG_LIBS = $(R_HOME)/bin/Rscript -e ’RcppThread::LdFlags()'.


Detect the Number of CPU Cores

Description

Detects the number of (logical) CPU cores.

Usage

detectCores()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.