Error in R: (Package which is only available in source form, and may need compilation of C/C++/Fortran)

前端 未结 6 1200
梦毁少年i
梦毁少年i 2020-12-01 12:07

I\'m trying to install the \'yaml\' and \'stringi\' packages in R-Studio, and it keeps giving me these errors:

> install.packages(\"stringi\")
Package whi         


        
6条回答
  •  不思量自难忘°
    2020-12-01 12:42

    Struggled with this issue today, solved it for now by first downloading the windows binary and then installing e.g.

    install.packages("https://cran.r-project.org/bin/windows/contrib/3.3/stringi_1.1.1.zip", repos =NULL)
    

    Just go to https://cran.r-project.org/ and then R Binaries/Windows/contrib and copy the url as argument to install.packages()

提交回复
热议问题