使用以下代码安装devtools包
install.packages("devtools")
如果仍然无法安装,请尝试更新你的R版本,并确保你的操作系统已经安装开发工具(developer tools)。例如,在Ubuntu上使用以下命令行安装:
sudo apt-get update sudo apt-get install build-essential
上一篇:安装devtools
下一篇:安装devtools时出现错误:“无法加载‘devtools’的包或命名空间”。