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, -- Yasin Gocgun
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, >
Hi, Thanks for your email. When I use that line, I received the following messages from R: package ?Rcplex? is available as a source package but not as a binary package ?Rcplex? is not available (for R version 3.1.1) So, do you see what the problem is? Thank you, Yasin On Fri, Jul 24, 2015 at 4:04 PM, Rui Barradas <ruipbarradas at sapo.pt> wrote:> 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, >> >-- Yasin Gocgun