Mice Function in R stuck on first iteration / imputation
I’ve been trying to use mice on my dataset, but it’s getting stuck on the first iteration / imputation and it’s not running anymore after that. The dataset is 282 rows and 190 columns, so not particularly large / slow to impute. I’ve tried multiple times, and each time I try it gives me an error regarding the Rcpp package (see below), and then the 2nd time (whether or not I install Rcpp package) it’ll run but get stuck on the first imputation. My R Studio then gets frozen and I have to force quit the application. Please help! And please let me know if you need anymore information.
here’s the code from my console:
> tempA1miced = mice(Analysis1people, seed = 5, m=1)
iter imp variable
1 1 VCAM.V.sdt1Error in matchindex(yhatobs, yhatmis, donors) :
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
> library(Rcpp)
> #mice analysis 1
> tempA1miced = mice(Analysis1people, seed = 5, m=1)
iter imp variable
1 1 VCAM.V.sdt1
Read more here: Source link