Reputation: 5234
I'm trying to install klaR and its library using the code below:
install.packages("klaR")
library(klaR)
I need it to do different types of stepwise regressions on my data later on. However, when I run the code above it gives me the following error
library(klaR) package �klaR� was built under R version 3.6.3Error: package or namespace load failed for ‘klaR’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘labelled’
What can I do?
Upvotes: 1
Views: 3780
Reputation: 11
Update your rlang
package.
install.packages("rlang")
,
then install package labelled
,
then try loading klaR
Upvotes: 1