Skip to content

An R package for easy parallel computing, logging, and function call automation.

Notifications You must be signed in to change notification settings

Someone894/ParallelLogger

 
 

Repository files navigation

ParallelLogger

CRAN_Status_Badge CRAN_Status_Badge

Introduction

An R package with tools to be used in the other OHDSI R packages

Features

  • Functions for parallel computation
  • Functions for logging
  • Functions used for automating analyses

Examples

# Run a function in parallel:
fun <- function(x) {
  return (x^2)
}

cluster <- makeCluster(numberOfThreads = 3)
result <- clusterApply(cluster, 1:10, fun)
stopCluster(cluster)

# Create a file logger:
addDefaultFileLogger("log.txt")
logTrace("Hello world")

Technology

ParallelLogger is an R package.

System Requirements

Requires R (version 3.1.0 or higher)

Dependencies

None

Getting Started

  1. In R, use the following commands to download and install ParallelLogger:
install.packages("devtools")
library(devtools)
install_github("ohdsi/ParallelLogger")

Getting Involved

License

ParallelLogger is licensed under Apache License 2.0

Development

ParallelLogger is being developed in R Studio.

Development status

Build Status codecov.io

Ready for use

Acknowledgements

  • This project is supported in part through the National Science Foundation grant IIS 1251151.

About

An R package for easy parallel computing, logging, and function call automation.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 95.6%
  • Perl 3.0%
  • Shell 1.4%