我正在尝试在MAC上安装Rcplex,但是遇到了非常奇怪的错误。我在终端上运行了以下命令:
R CMD安装--configure-args =“ \ --with-cplex-lib ='/ Applications / CPLEX_Studio_Community129 / cplex / lib / x86-64_osx / static_pic /'\ --with-cplex-include ='/ Applications / CPLEX_Studio_Community129 / cplex / include /'\ --with-cplex-link ='-lcplex -m64 -lm -pthread'\ --with-cplex-check ='/ Applications / CPLEX_Studio_Community129 / cplex / examples / src / c'\ --with-cplex-cflags ='-m64 -fPIC'“ \ Rcplex
,并出现以下错误: 正在检查包含CPXversion的库...否 配置:错误:无法使用/ Applications / CPLEX_Studio_Community129 / cplex / lib / x86-64_osx / static_pic /链接CPLEX库 错误:“ Rcplex”包的配置失败