概要
提示:由于软件包的更新,所以需要更新r至新版本
流程细节
- 查看当前r版本
r.version
- 下载更新包:installr
install.packages("installr")
library(installr)
- 跟着向导一步步执行安装
具体步骤
install.packages("installr")
library(installr)
> r.version _
platform x86_64-w64-mingw32
arch x86_64
os mingw32
crt ucrt
system x86_64, mingw32
status
major 4
minor 3.2
year 2023
month 10
day 31
svn rev 85441
language r
version.string r version 4.3.2 (2023-10-31 ucrt)
nickname eye holes > updater()installing the newest version of r,
please wait for the installer file to be download and executed.
be sure to click 'next' as needed...试开url’https://cran.rstudio.com/bin/windows/base/r-4.4.0-win.exe'content type 'application/x-msdownload' length 85720856 bytes (81.7 mb)downloaded 81.7 mb
the file was downloaded successfully into:
c:\users\lenovo\appdata\local\temp\rtmpsbs6ti/r-4.4.0-win.exe
running the installer now...
提示:安装完成,更新至4.4.0
> r.version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
crt ucrt
system x86_64, mingw32
status
major 4
minor 4.0
year 2024
month 04
day 24
svn rev 86474
language r
version.string r version 4.4.0 (2024-04-24 ucrt)
nickname puppy cup
发表评论