R或RStudio下载包时出错解决方案

当我们想要在R&RStudio中下载包时可能会出现如下类似错误

1
在如下目录中的Rprofile.site文件中对应位置增加一条代码即可:

options(download.file.method="libcurl")

2
修改好后,再次下载即可成功!
3

猜你喜欢

转载自blog.csdn.net/sl_world/article/details/80518109