[R] how to install and use Rcplex package

Rui Barradas ruipbarradas at sapo.pt
Fri Jul 24 15:04:38 CEST 2015


Hello,

Try

install.packages("Rcplex")

That's it.

Hope this helps,

Rui Barradas

Em 24-07-2015 12:20, Yasin Gocgun escreveu:
> Hi,
>
> I need to know how to completely install Rcplex to be able to use
> cplex in R. According to the instructions given in the following
> webpage, I edited the Makevars.win file:
>
> https://cran.r-project.org/web/packages/Rcplex/INSTALL
>
> The revised Makevars.win file includes only the following lines:
>
> PKG_CPPFLAGS=-I/C:/ilog/CPLEX_Studio122/include
> PKG_LIBS=-L/C:/ilog/CPLEX_Studio122/cplex/lib/x64_windows_vs2008/stat_mda-lcplex122
> -lm
>
> First, I am not sure whether the above lines are completely correct.
> Second, I don'y know what is the next step in installing and using
> Rcplex. So can someone help me about this issue?
>
> Thank you in advance,
>



More information about the R-help mailing list