Package: ParallelLogger 3.3.1

Martijn Schuemie

ParallelLogger: Support for Parallel Computation, Logging, and Function Automation

Support for parallel computation with progress bar, and option to stop or proceed on errors. Also provides logging to console and disk, and the logging persists in the parallel threads. Additional functions support function call automation with delayed execution (e.g. for executing functions in parallel).

Authors:Martijn Schuemie [aut, cre], Marc Suchard [aut], Observational Health Data Science and Informatics [cph]

ParallelLogger_3.3.1.tar.gz
ParallelLogger_3.3.1.zip(r-4.5)ParallelLogger_3.3.1.zip(r-4.4)ParallelLogger_3.3.1.zip(r-4.3)
ParallelLogger_3.3.1.tgz(r-4.4-any)ParallelLogger_3.3.1.tgz(r-4.3-any)
ParallelLogger_3.3.1.tar.gz(r-4.5-noble)ParallelLogger_3.3.1.tar.gz(r-4.4-noble)
ParallelLogger_3.3.1.tgz(r-4.4-emscripten)ParallelLogger_3.3.1.tgz(r-4.3-emscripten)
ParallelLogger.pdf |ParallelLogger.html
ParallelLogger/json (API)
NEWS

# Install 'ParallelLogger' in R:
install.packages('ParallelLogger', repos = c('https://ohdsi.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ohdsi/parallellogger/issues

On CRAN:

hades

9.18 score 12 stars 8 packages 88 scripts 2.4k downloads 37 exports 5 dependencies

Last updated 2 months agofrom:0f9e3d96d4. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winWARNINGNov 03 2024
R-4.5-linuxWARNINGNov 03 2024
R-4.4-winWARNINGNov 03 2024
R-4.4-macWARNINGNov 03 2024
R-4.3-winWARNINGNov 03 2024
R-4.3-macWARNINGNov 03 2024

Exports:addDefaultConsoleLoggeraddDefaultEmailLoggeraddDefaultErrorReportLoggeraddDefaultFileLoggerclearLoggersclusterApplyclusterRequireconvertJsonToSettingsconvertSettingsToJsoncreateArgFunctioncreateConsoleAppendercreateEmailAppendercreateFileAppendercreateLoggerexcludeFromListgetLoggerslaunchLogViewerlayoutEmaillayoutErrorReportlayoutParallellayoutSimplelayoutStackTracelayoutTimestamploadSettingsFromJsonlogDebuglogErrorlogFatallogInfologTracelogWarnmakeClustermatchInListregisterLoggersaveSettingsToJsonselectFromListstopClusterunregisterLogger

Dependencies:clijsonliterlangsnowxml2

Logging using ParallelLogger

Rendered fromLogging.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2024-08-23
Started: 2018-06-28

Parallel execution using ParallelLogger

Rendered fromParallel.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-06-25
Started: 2018-06-28

Readme and manuals

Help Manual

Help pageTopics
Add the default console loggeraddDefaultConsoleLogger
Add the default e-mail loggeraddDefaultEmailLogger
Add the default error report loggeraddDefaultErrorReportLogger
Add the default file loggeraddDefaultFileLogger
Remove all registered loggersclearLoggers
Apply a function to a list using the clusterclusterApply
Require a package in the clusterclusterRequire
Converts a JSON string to a settings objectconvertJsonToSettings
Convert a settings object to a JSON stringconvertSettingsToJson
Create an argument functioncreateArgFunction
Create console appendercreateConsoleAppender
Create e-mail appendercreateEmailAppender
Create file appendercreateFileAppender
Create a loggercreateLogger
Exclude variables from a list of objects of the same typeexcludeFromList
Get all registered loggersgetLoggers
Launch the log viewer Shiny applaunchLogViewer
Logging layout for e-maillayoutEmail
Logging layout for error reportlayoutErrorReport
Logging layout for parallel computinglayoutParallel
Simple logging layoutlayoutSimple
Logging layout with stack tracelayoutStackTrace
Logging layout with timestamplayoutTimestamp
Load a settings object from a JSON fileloadSettingsFromJson
Log a message at the DEBUG levellogDebug
Log a message at the ERROR levellogError
Log a message at the FATAL levellogFatal
Log a message at the INFO levellogInfo
Log a message at the TRACE levellogTrace
Log a message at the WARN levellogWarn
Create a cluster of nodes for parallel computationmakeCluster
In a list of object of the same type, find those that match the inputmatchInList
Register a loggerregisterLogger
Save a settings object as JSON filesaveSettingsToJson
Select variables from a list of objects of the same typeselectFromList
Stop the clusterstopCluster
Unregister a loggerunregisterLogger