Reputation: 757
I was trying to update my R version (3.4.3, a little old) but when i was trying to install 'installr' packages and load it, I got errors
> install.packages("installr")
trying URL
'https://cran.rstudio.com/bin/windows/contrib/3.4/installr_0.20.0.zip'
Content type 'application/zip' length 265893 bytes (259 KB)
downloaded 259 KB
package ‘installr’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\abc001\AppData\Local\Temp\RtmpKUhjgr\downloaded_packages
> require(installr)
Loading required package: installr
Loading required package: stringr
Error: package or namespace load failed for ‘stringr’ in library.dynam(lib,
package, package.lib):
DLL ‘stringi’ not found: maybe not installed for this architecture?
Failed with error: ‘package ‘stringr’ could not be loaded’
In addition: Warning messages:
1: package ‘installr’ was built under R version 3.4.4
2: package ‘stringr’ was built under R version 3.4.4
After reading the errors, i guess my current problem is that 'installr' needs 'stringr' but they are built on 3.4.4. So now how do I update my R version if 'installr' depends on new R version (at least 3.4.4) but my current version is (3.4.3)?
Thank you!
Upvotes: 1
Views: 9967
Reputation: 481
Try installing the stringi library.
install.packages("stringi")
Then re-try installr.
require(installr)
Upvotes: 3