If I set max_cores > 1, there will be an error that can't find panckge called ‘quadprog’
just as follows:
library(spacexr)
library(quadprog)
myRCTD <- create.RCTD(puck, reference, max_cores = 4, test_mode = FALSE, UMI_min = 20)
myRCTD2 <- run.RCTD(myRCTD, doublet_mode = 'doublet')
fitBulk: decomposing bulk
chooseSigma: using initial Q_mat with sigma = 1
starting worker pid=323655 on localhost:11345 at 11:34:29.020
starting worker pid=323669 on localhost:11345 at 11:34:30.956
starting worker pid=323687 on localhost:11345 at 11:34:32.906
starting worker pid=323701 on localhost:11345 at 11:34:34.933
Loading required package: spacexr
Loading required package: spacexr
Loading required package: spacexr
Loading required package: spacexr
Error in e$fun(obj, substitute(ex), parent.frame(), e$data) :
worker initialization failed: there is no package called ‘quadprog’
When running the choose_sigma_c function step by step, an error occurs.
myRCTD <- choose_sigma_c(myRCTD)
chooseSigma: using initial Q_mat with sigma = 1
starting worker pid=324777 on localhost:11345 at 11:43:12.669
starting worker pid=324795 on localhost:11345 at 11:43:14.636
starting worker pid=324809 on localhost:11345 at 11:43:16.594
starting worker pid=324824 on localhost:11345 at 11:43:18.573
Loading required package: spacexr
Loading required package: spacexr
Loading required package: spacexr
Loading required package: spacexr
Error in e$fun(obj, substitute(ex), parent.frame(), e$data) :
worker initialization failed: there is no package called ‘quadprog’
How can I resolve the problem?
If I set max_cores > 1, there will be an error that can't find panckge called ‘quadprog’
just as follows:
When running the choose_sigma_c function step by step, an error occurs.
How can I resolve the problem?