'Error: package or namespace load failed for ‘raster’ in inDL(x, as.logical(local), as.logical(now), ...):

While i am trying to load library Raster i am getting error as follow:

Error: package or namespace load failed for ‘raster’ in inDL(x, as.logical(local), as.logical(now), ...): unable to load shared object 'C:/Users/A132054/OneDrive/Documents/R/win-library/4.0/Rcpp/libs/x64/Rcpp.dll': LoadLibrary failure: The specified procedure could not be found. In addition: Warning message: package ‘raster’ was built under R version 4.0.2

It was working fine earlier and other system as well.

r


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source