agnesdeng / misle

Multiple imputation through statistical learning
5 stars 0 forks source link

failed to install the package "misle" in R #2

Open DATEDATA opened 2 years ago

DATEDATA commented 2 years ago

The following is the error warning: Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘Rfast’ Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted ERROR: lazy loading failed for package ‘misle’

failed to install the package "misle" in R

agnesdeng commented 2 years ago

It seems that it didn't install the dependencies. Setting the argument dependencies = TRUE or installing the package 'Rfast' before installing misle should solve this problem.

DATEDATA commented 2 years ago

It seems that it didn't install the dependencies. Setting the argument dependencies = TRUE or installing the package 'Rfast' before installing misle should solve this problem.

It works. By the way, in the R package "misle", are the structures of DAE & VAE for MI imputations automatically optimized during training or the default/fixed network structures without any optimization?
Thanks!

DATEDATA commented 2 years ago

Does it matter which version of tensorflow (I use tensorflow 2.2.0 while yours is 1.14.0) to use?