我正在尝试在R版本3.5.3(2019-03-11)平台上安装Rsymphony:i386-w64-mingw32 / i386(32位)使用 Windows 10。
我使用了以下命令:
install.packages("Rsymphony",type="source")
我不断收到此错误消息:
---------------------------------------------------------------------------
* installing *source* package 'Rsymphony' ...
** package 'Rsymphony' successfully unpacked and MD5 sums checked
** libs
*** arch - i386
c:/Rtools/mingw_32/bin/g++ -I"C:/PROGRA~1/R/R-35~1.3/include" -DNDEBUG -I/include -O2 -Wall -mtune=generic -c R_symphony.cc -o R_symphony.o
R_symphony.cc:12:27: fatal error: coin/symphony.h: No such file or directory
#include <coin/symphony.h>
^
compilation terminated.
make: *** [R_symphony.o] Error 1
ERROR: compilation failed for package 'Rsymphony'
* removing 'C:/Users/(…)/OneDrive - Department for Education/Documents/R/win-library/3.5/Rsymphony'
In R CMD INSTALL
The downloaded source packages are in
‘C:\Users\(…)\AppData\Local\Temp\RtmpqsnyKC\downloaded_packages’
Warning message:
In install.packages("Rsymphony", type = "source") :
installation of package ‘Rsymphony’ had non-zero exit status
----------------------------------------------------------------------
我正在使用公司加密的设备。