错误:
install.packages("forestplot")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/forestplot_2.0.1.zip'
Content type 'application/zip' length 673803 bytes (658 KB)
downloaded 658 KBpackage ‘forestplot’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\最美的用户\AppData\Local\Temp\Rtmpwhgwsk\downloaded_packages
Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Users/?????/Documents": 文件名、目录名或卷标语法不正确。
尝试过代码下载和直接下载都不行。
修改后代码
> setwd("C:/Users/最美的用户/AppData/Local/Temp/Rtmpwhgwsk/downloaded_packages")
> install.packages("forestplot")