When I tried to use the readr library, I'm getting the following error. Please let me know how to troubleshoot this.
library(readr)
Error: package or namespace load failed for ‘readr’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/Mahan/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 ‘readr’ was built under R version 4.0.2
install.packages("Rcpp")
Installing package into ‘C:/Users/Mahan/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/Rcpp_1.0.5.zip'
Content type 'application/zip' length 3266037 bytes (3.1 MB)
downloaded 3.1 MB
package ‘Rcpp’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Mahan\AppData\Local\Temp\Rtmp2DdNKU\downloaded_packages
library(readr)
Error: package or namespace load failed for ‘readr’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/Mahan/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 ‘readr’ was built under R version 4.0.2
Rstudio is an Integrated Development Environment to support programming in R, its different from the R language itself.
the newest version of RStudio is 1.3.1056
the newest version of R is 4.0.2