悬疑未决的R包报错

2019-06-07  本文已影响0人  miao_hzaupo

疑案1

更新了R版本到3.6.0后,使用了一下发现有些包用不了,就删除了。重新使用R-3.4.3,就总会有这样的报错,虽然能够运行成功,但总是出现这个(刷屏的那种出现),也不知道什么原因???

Error in readRDS(file) : 
  cannot read workspace version 3 written by R 3.6.0; need R 3.5.0 or newer

疑案2

这个也是最近常见的报错,什么玩意儿?

Warning messages:
1: running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\zhangmiao\Documents\R\win-library\3.4" C:\Users\ZHANGM~1\AppData\Local\Temp\RtmpMlaeo4/downloaded_packages/pillar_1.4.1.tar.gz' had status 1 
2: In install.packages(update[instlib == l, "Package"], l, repos = repos,  :
  installation of package ‘pillar’ had non-zero exit status

疑案3

使用旧版本一直安装不了clusterProfiler,总是有如下报错

> remove.packages("DOSE")
Removing package from ‘C:/Users/zhangmiao/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Error in readRDS(pfile) : 
  cannot read workspace version 3 written by R 3.6.0; need R 3.5.0 or newer
> library(clusterProfiler)
载入需要的程辑包:DOSE
Error: package or namespace load failed for ‘DOSE’ in readRDS(pfile):
 cannot read workspace version 3 written by R 3.6.0; need R 3.5.0 or newer
Error: 无法载入程辑包‘DOSE’
上一篇下一篇

猜你喜欢

热点阅读