spacexr icon indicating copy to clipboard operation
spacexr copied to clipboard

please,i have loading this package,but it still give me this erro

Open seekning opened this issue 1 year ago • 5 comments

library(quadprog) myRCTD <- run.RCTD(myRCTD, doublet_mode = 'doublet') fitBulk: decomposing bulk chooseSigma: using initial Q_mat with sigma = 1 starting worker pid=3167741 on localhost:11008 at 23:24:32.879 starting worker pid=3167829 on localhost:11008 at 23:24:33.102 starting worker pid=3167907 on localhost:11008 at 23:24:33.309 starting worker pid=3167985 on localhost:11008 at 23:24:33.562 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’

i will be so appreciated that anybody answer the question.

seekning avatar Feb 17 '24 15:02 seekning

Hmm. I never got that error but this issue seems to be that you don't have the R package "quadprog". So I might try to fix this by running the command install.packages("quadprog")

szimmerman92 avatar Mar 14 '24 16:03 szimmerman92

I got the same question, even after install.packages("quadprog") and library(quadprog) . Error in e$fun(obj, substitute(ex), parent.frame(), e$data) : worker initialization failed: there is no package called ‘quadprog’ Hope that anybody could answer the question!

98xy avatar Sep 14 '24 07:09 98xy

me too,Hope that anybody could answer the question!please

juanjuanmei avatar Nov 02 '24 02:11 juanjuanmei

We encountered the same issue when running on R 4.4.1. Eventually, we resolved the problem by downgrading R to version 4.2.1. We suspect it might be due to incompatibility between the ‘quadprog’ package and the higher version of R. Hopefully, this solution can help everyone with this issue.

BIGHanLab avatar Jan 03 '25 07:01 BIGHanLab

We encountered the same issue when running on R 4.4.1. Eventually, we resolved the problem by downgrading R to version 4.2.1. We suspect it might be due to incompatibility between the ‘quadprog’ package and the higher version of R. Hopefully, this solution can help everyone with this issue.

realy?i downgraded R to3.x.x,it"s still error

seekning avatar Jan 06 '25 01:01 seekning