frollapply now uses base R's parallel package fork for parallel computation of FUN. Adding mirai and mori packages together it could provide an alternative backend for parallel processing in frollapply.
Cost of it means 2 extra suggested dependency (3 pkgs in total, including nanonext, dep of mirai).
Benefits are that parallel processing will work on Windows, and other OSes where fork is not available.
Moreover, posit workbenchmark is not handling fork well, so that could be an alternative for posit workbench users.
|
Fast rolling user-defined function (\emph{UDF}) to calculate on a sliding window. Experimental. Please read, at least, \emph{caveats} section below. For "time-aware" (irregularly spaced time series) rolling function see \code{\link{frolladapt}}. |
note that frollapply is still experimental which gives more freedom to re-work
frollapply now uses base R's parallel package fork for parallel computation of FUN. Adding mirai and mori packages together it could provide an alternative backend for parallel processing in frollapply.
Cost of it means 2 extra suggested dependency (3 pkgs in total, including nanonext, dep of mirai).
Benefits are that parallel processing will work on Windows, and other OSes where fork is not available.
Moreover, posit workbenchmark is not handling fork well, so that could be an alternative for posit workbench users.
data.table/man/frollapply.Rd
Line 6 in e26cf1b
note that frollapply is still experimental which gives more freedom to re-work