Issue: Unable to load certain packages in User Library
Version: R-4.1.2 [64bit] ; R-4.1.2 [32bit] ; R-41~1.2 [64bit] ; R-41~1.2 [32bit] ; Rstudio 2021.09.1 Build 372
Setup:
- New installation on Working PC environment. Restriction placed, for example require to adjust proxy server setting in order to connect and install packages.
- Library path:
(1) lib.loc = C:/Program Files/R/R-4.1.2/library
(2)C:\Users\ALONG\Documents\R\win-library\4.1
For example: either using
> library(readxl)
Error: package or namespace load failed for ‘readxl’:
.onLoad failed in loadNamespace() for 'Rcpp', details:
call: new_dummyObject(.dummyInstancePointer)
error: object 'class__dummyInstance' not found
This is the same error, if user is to use the Rstudio user interface {Environment>Import Dataset>From Excel}
Similar error occurs for other packages
> library(ggplot2)
Error: package or namespace load failed for ‘ggplot2’:
.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:
<https://github.com/jennybc/what-they-forgot/issues/62>