FredHasselman / casnet

An R toolbox for studying Complex Adaptive Systems and NETworks
https://fredhasselman.github.io/casnet/
GNU General Public License v3.0
27 stars 7 forks source link

rqa_par fails on windows since mc.cores > 1 is not supported #10

Open DanBennettDev opened 10 months ago

DanBennettDev commented 10 months ago

On Casnet 0.2.9, on windows 10 running this code

edim <- 10 
emLag <- 2
emRad < 0.05

RM <- rqa_par(y1 = dt, AUTO = TRUE, emDim = emDim, emLag = emLag, emRad = emRad, silent = FALSE)

Gives error:

Error in parallel::mcmapply(FUN = rqa_fast, index = rows, MoreArgs = list(y1 = y1, :
'mc.cores' > 1 is not supported on Windows
FredHasselman commented 8 months ago

Hi Dan,

I have changed the parallel support to package future and future.apply in version 0.3.1. Let me know if you still have issues.