Open apa-22 opened 1 year ago
Hi @apa-22 thanks for trying SEMinR. Please help us diagnose the problem by answering a few preliminary questions:
R.Version()$version.string
packageVersion("seminr")
Hi @soumyaray thanks for your reply!
Here are my current settings:
Thanks for your support!
@apa-22 seminr is trying to run the bootstrap using all the cores of your CPU in parallel. It seems that parallel processing, implemented by the parallel
package that comes with R, is producing the error on your computer.
Questions:
parallel
package is installed in R? (Try: packageVersion("parallel")
)parallel::detectCores()
Can you also try to run estimate_bootstrap()
function with parameter cores=1
. This will try to sequentially run the bootstrap. It will be quite slow so also set the number of bootstraps to something low: nboot=100
. So:
boot_mpls_total <- bootstrap_model(seminr_model = mpls_total, nboot = 100, cores=1)
Hi @soumyaray thanks for your reply.
I tried running your code, i.e.:
boot_mpls_total <- bootstrap_model(seminr_model = mpls_total, nboot = 100, cores=1)
but I still get the error message. This time it says "one node produced an error" instead of "16 nodes produced errors" since we set cores=1, I guess.
Bootstrapping model using seminr...
Bootstrapping encountered this ERROR:
one node produced an error: there is no package called 'seminr'
Dear @apa-22 kindly let us confer and let you know what else we need to help resolve this issue. It isn't happening on other systems or for other users as we know of.
Hi there
I tried estimating a PLS model using the 'seminr' package. The function 'estimate_pls()' seems to work properly. However, I encounter the following problem when I try to bootstrapping:
Can anyone help please? I have already tried uninstalling and reinstalling the package, but I still get this error message.