1. 查看已安装包库
installed.packages()
2. 保存包库名称
Rpack <- installed.packages()[,1]
save(Rpack, flie="Rpack.Rdata")
3.在另一台设备加载Rpack
for (i in Rpack) {
install.packages(i)
}
installed.packages()
Rpack <- installed.packages()[,1]
save(Rpack, flie="Rpack.Rdata")
for (i in Rpack) {
install.packages(i)
}
本文标题:R迁移包库
本文链接:https://www.haomeiwen.com/subject/yewnbltx.html
网友评论