R: install.packages("semPlot") does not seem to work

1.8k Views Asked by At

I've been trying to use LAVAAN, which means I need to set up "semPlot" first. However when I try install.packages("semPlot") I receive this message:

Warning in install.packages :
dependency ‘XML’ is not available
also installing the dependencies ‘RcppParallel’, ‘StanHeaders’, ‘rpf’, ‘sem’, ‘OpenMx’
There are binary versions available but the source versions are later:
                binary   source needs_compilation
RcppParallel    5.0.0    5.0.2              TRUE
StanHeaders  2.21.0-1 2.21.0-5              TRUE
rpf             1.0.3    1.0.4              TRUE
sem             3.1-9   3.1-11              TRUE
OpenMx         2.17.3   2.17.4              TRUE

I tried install.packages("XML") but receive package ‘XML’ is not available (for R version 3.5.2) My version is 1.1.463 so I'm not sure what's going on.

When I try to summon library(semPlot) I get this error message:

Error: package or namespace load failed for ‘semPlot’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘sem’

Can anyone help me decipher this riddle? Would be super thankful for any advice!

0

There are 0 best solutions below