从github下载软件包时遇到了很多麻烦。我认为我的问题是我没有最新的R版本。如果我这样做,那么我想我可以从github下载包。任何人都知道如何更新我的R版本,以便它允许我这样做?或者可能是一个不同的问题?任何帮助将不胜感激!感谢
> install.packages("devtools")
Installing package into ‘C:/Users/Nicholas/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.2/devtools_1.8.0.zip'
Content type 'application/zip' length 339399 bytes (331 KB)
downloaded 331 KB
package ‘devtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Nicholas\AppData\Local\Temp\RtmpqYKiyz\downloaded_packages
> library(devtools)
Warning message:
package ‘devtools’ was built under R version 3.2.1
> devtools::install_github("ramnathv/htmlwidgets")
Downloading github repo ramnathv/htmlwidgets@master
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘stringi’
> devtools::install_github("bokeh/rbokeh")
Downloading github repo bokeh/rbokeh@master
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘stringi’