Skip to content

huashan/logr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logr: R logging package for parallel computing

Installation

library(devtools)
install_github('huashan/logr')

demo code

do_thread <- function(x, loger) {
   loger$loginfoT(x)
}

loger <- logr$new()

# start clustering
# mcStart()

foreach(j = 1:6, .packages = 'logr') %dopar% do_thread(j, loger)

# stop clustering
# mcEnd()

rm(loger);gc(T)

About

R logging package for parallel computing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages