Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/assembly/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误:程序包由具有不同内部结构的R版本安装;它需要重新安装_R_Package_Installation - Fatal编程技术网

错误:程序包由具有不同内部结构的R版本安装;它需要重新安装

错误:程序包由具有不同内部结构的R版本安装;它需要重新安装,r,package,installation,R,Package,Installation,我遇到了一个软件包安装问题,我完全不知道如何处理这种情况 install.packages("C:/Users/Oliver/Downloads/NPRED.zip", repos = NULL, type = "win.binary") Installing package into ‘C:/Users/Oliver/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) package ‘NPRED’ successfully unpac

我遇到了一个软件包安装问题,我完全不知道如何处理这种情况

install.packages("C:/Users/Oliver/Downloads/NPRED.zip", repos = NULL, type = "win.binary")
Installing package into ‘C:/Users/Oliver/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
package ‘NPRED’ successfully unpacked and MD5 sums checked
library("NPRED", lib.loc="~/R/win-library/3.5")
*

*

有人能帮我解决这个问题吗

非常感谢! 干杯
奥利

3.5改变了一些内部结构。由于您安装的是二进制软件包,您需要下载一个版本的软件包,该软件包至少使用3.5版本构建,我有没有办法绕过它?下载3.4例如?@Dason;降级到3.4,软件包将成功运行如果在升级到3.5+之前安装了软件包,则需要完全卸载软件包,然后重新安装,您不能只对软件包进行正常更新。
> Error: package or namespace load failed for ‘NPRED’:
>      package ‘NPRED’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version