文章目录
- 概要
- 流程细节
- 具体步骤
概要
提示:由于软件包的更新,所以需要更新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 MBThe 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