I'm trying to install the Rwofost R package on Ubuntu 16.04 LTS using the following command
我正在尝试使用以下命令在Ubuntu 16.04 LTS上安装Rwofost R软件包
install.packages("Rwofost", repos="http://R-Forge.R-project.org")
However it throws the following error:
但是它会抛出以下错误:
RcppModule.cpp:10:30: fatal error: R_interface_util.h: No such file or directory compilation terminated. /usr/lib/R/etc/Makeconf:168: recipe for target 'RcppModule.o' failed make: *** [RcppModule.o] Error 1 ERROR: compilation failed for package ‘Rwofost’ * removing ‘/home/yaseen/R/x86_64-pc-linux-gnu-library/3.4/Rwofost’
RcppModule.cpp:10:30:致命错误:R_interface_util.h:没有终止此类文件或目录编译。 / usr / lib / R / etc / Makeconf:168:目标'RcppModule.o'的配方失败make:*** [RcppModule.o]错误1错误:包'Rwofost'*删除'/ home / yaseen的编译失败/R/x86_64-pc-linux-gnu-library/3.4/Rwofost”
Wondering how to install Rwofost?
想知道如何安装Rwofost?
1 个解决方案
#1
2
You need to talk to the maintainer -- it looks like that that missing file R_interface_util.h
is a file of his which is not included, so the build fails.
您需要与维护者交谈 - 看起来丢失的文件R_interface_util.h是他未包含的文件,因此构建失败。
As the filename is somewhat unique, we can search for the file on GitHub which suggests it really is a file by that author or team.
由于文件名有点独特,我们可以在GitHub上搜索文件,这表明它确实是该作者或团队的文件。
#1
2
You need to talk to the maintainer -- it looks like that that missing file R_interface_util.h
is a file of his which is not included, so the build fails.
您需要与维护者交谈 - 看起来丢失的文件R_interface_util.h是他未包含的文件,因此构建失败。
As the filename is somewhat unique, we can search for the file on GitHub which suggests it really is a file by that author or team.
由于文件名有点独特,我们可以在GitHub上搜索文件,这表明它确实是该作者或团队的文件。