The rlang package is not properly installed.

  1. In R Studio : Version 1.4.1106 // [64-bit] C:\Program Files\R_App_4.0.4 // https://rpackages:4243/prod-cran/latest // R Studio running on a Citrix XenApp
  2. Then run the following 2 lines of code:

I successfully managed to install the package (dplyr) however when I try to call it in the R environment using library(dplyr) I get the following error:

Error: package or namespace load failed for ‘dplyr’:

.onLoad failed in loadNamespace() for 'rlang', details:

call: NULL

error: The rlang package is not properly installed.

The DLL version does not correspond to the package version.

Please update rlang to the latest version.

Updating packages on Windows requires precautions:

I would completely close down RStudio, then open it back up and run install.packages("rlang"). Then completely close it down again, open it back up and try to run library(rlang). Then try library(dplyr) if that works.

I'm not entirely sure how you ended up with something that looks out of sync, but it may just require a restart of R

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.