从3.4.1 升级到最新
懒得去官网下载
在R studio 执行一下代码
install.packages("installr")
library(installr)
updateR()
但是执行出是
> install.packages("installr")
also installing the dependencies ‘glue’, ‘magrittr’, ‘stringi’, ‘stringr’ There are binary versions available but the source versions are later:
binary source needs_compilation
glue 1.2.0 1.3.0 TRUE
stringi 1.1.7 1.2.3 TRUE Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/glue_1.2.0.zip'
Content type 'application/zip' length 75854 bytes (74 KB)
downloaded 74 KB trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/magrittr_1.5.zip'
Content type 'application/zip' length 155828 bytes (152 KB)
downloaded 152 KB trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/stringi_1.1.7.zip'
Content type 'application/zip' length 14295248 bytes (13.6 MB)
downloaded 13.6 MB trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/stringr_1.3.1.zip'
Content type 'application/zip' length 171861 bytes (167 KB)
downloaded 167 KB trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/installr_0.20.0.zip'
Content type 'application/zip' length 265801 bytes (259 KB)
downloaded 259 KB package ‘glue’ successfully unpacked and MD5 sums checked
package ‘magrittr’ successfully unpacked and MD5 sums checked
package ‘stringi’ successfully unpacked and MD5 sums checked
package ‘stringr’ successfully unpacked and MD5 sums checked
package ‘installr’ successfully unpacked and MD5 sums checked The downloaded binary packages are in
C:\Users\muzhitiehe\AppData\Local\Temp\Rtmpyg1kY9\downloaded_packages
> require(installr)
载入需要的程辑包:installr
载入需要的程辑包:stringr Welcome to installr version 0.20.0 More information is available on the installr project website:
https://github.com/talgalili/installr/ Contact: <[email protected]>
Suggestions and bug-reports can be submitted at: https://github.com/talgalili/installr/issues To suppress this message use:
suppressPackageStartupMessages(library(installr)) Warning messages:
1: 程辑包‘installr’是用R版本3.4.4 来建造的
2: 程辑包‘stringr’是用R版本3.4.4 来建造的
> updateR()
[1] FALSE
总之就是失败了。
最后这个更新语句,我在R 里尝试执行。
> updateR()
Error in updateR() : 没有"updateR"这个函数
我没想通。
后来点击了界面:
显示
没想明白。
后续:
我不开心了。
重新在R装了一下。之前的一切都是徒劳。