This repository was archived by the owner on Nov 13, 2021. It is now read-only.

Description
Using AnomalyDetection in parallel across a data.frame currently fails with the following error:
Error in (function (display = \"\", width, height, pointsize, gamma, bg, :
a forked child should not open a graphics device
Here is a trivial example to reproduce the problem:
library(parallel)
library(AnomalyDetection)
mclapply(as.data.frame(ts.union(BJsales, BJsales.lead)), AnomalyDetectionVec, period = 5)
Which produces the above errors.