Loding r package

Hi!

I'm trying to load the car packege, bur I get this error message:
Error: package or namespace load failed for ‘car’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 0.4.5 is already loaded, but >= 0.4.7 is required

I don't think I already have loaded antoher version of the car packge. How do I deal with this problem? I have this problem with several other packeges I'm trying to load as well.

Regards Marit

update.packages(rlang)

Thanks for your response.

When I try to update rlang, i get the error:
Error in update.packages(rlang) : object 'rlang' not found

I have installed and downloaded the package ( library(rlang) ) with no troubles. So I don't understand why the packge is not found.

The problem is the version you have so you need to update it. The library() command only loads the package in memory, it doesn't update it, try with this command and tell us if you get any error message while doing so.

install.packages("rlang")

Thank you a lot! I had to delete the packge and than install again. Now it works fine!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.