Hello,



I am an R user who wants to solve an optimization problem. To do so, I tried to install the package Rcplex on my computer (Windows7-64), so I did the same as installation Instructions<http://www.geeklog.net/docs/english/install.html> and edited the file "Makevars.win" by adding the path "C:/Program Files/IBM/ILOG/CPLEX_Studio_Preview124/cplex/include" (where the trial version of cplex has been installed on my computer) to the lines "PKG_CPPFLAGS=-I<CPLEX_DIR>/include" and
"PKG_LIBS=-L<CPLEX_DIR>/lib/x86_windows_vs2008/stat_mda -lcplex111 -lm". Then, I just tried to install the package as usual by R with the command "install.packages" but there is an error as following


"       Installing package(s) into 'C:/Users/shima/Documents/R/win-library/2.14'
        (as 'lib' is unspecified)
        * installing *source* package 'Rcplex' ...
        ERROR: configuration failed for package 'Rcplex'
        * removing 'C:/Users/shima/Documents/R/win-library/2.14/Rcplex'
        Warning messages:
        1: running command 'C:/PROGRA~1/R/R-214~1.0/bin/x64/R CMD INSTALL -l "C:/Users/shima/Documents/R/win-library/2.14"   "c:/temp/Rcplex"' had status 1
        2: In install.packages("c:/temp/Rcplex", type = "source", repos = NULL) :
          installation of package 'c:/temp/Rcplex' had non-zero exit status    "

and it does not work I wonder what the problem is!? Could you please guild me how I can solve this problem? Thank you in advance.

Regards,
Shima.



	[[alternative HTML version deleted]]

