I just downloaded R studio in my new machine-Mac with M1 chip, but when I tried to open R markdown, it said that I need to download an updated version of stringi package. I clicked Yes, it downloaded automatically. However it failed. When I retried to open the Rmarkdown, it asked me to download it again... Can anyone help me with this?
Here is the code chunk when the system automatically download the stringi package.
ERROR: configuration failed for package ‘stringi’
- removing ‘/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/stringi’
The downloaded source packages are in
‘/private/var/folders/wd/nh47n84969v54cvs1v38nkj00000gn/T/RtmpCR9wad/downloaded_packages’
Package 'stringi' successfully installed.
Warning message:
In utils::install.packages("stringi", repos = "https://cran.rstudio.com/") :
installation of package ‘stringi’ had non-zero exit status