rLingo - The R interface to LINGO API

Before installing the rLingo package, you must perform the following steps:

1. Download and install LINGO 18.0.
2. Download and install R.
3. Windows users also need to install the R tool set. For details, please refer to 
   http://www.cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset.


*******************Installation for Windows*******************
NOTE: Make sure to run the command window as administrator to perform these steps.

1. Check whether the environment variable LINGO_18_HOME (for 32-bit) or LINGO64_18_HOME (for 64-bit) 
   has been set to the installation path of LINGO. If not, please set it. e.g.
   
   > set LINGO_18_HOME="c:\lingo18"

2. Navigate to the directory where the file rLingo_18.0.1.tar.gz is located.

3. Use the following command sentence to install the rLingo package.

   > R CMD INSTALL rLingo.18.0.1.tar.gz

4. Test whether rLingo package has been installed successfully by using the following command in R.

   > library(rLingo)


*******************Installation for Linux*******************
NOTE: Make sure to login as the 'root' user to perform these steps.

1. Set the environment variable LINGO_18_HOME to the installation path of LINGO. e.g. 
      
   $export LINGO_18_HOME="/opt/lingo18"
   
   To automatically set this variable, please add the above sentence to the ~/.bashrc file.

2. Navigate to the directory where the file rLingo_18.0.1.tar.gz is located.

3. Install the package using the following command:
     
   $R CMD INSTALL rLingo_18.0.1.tar.gz

4. Test whether the rLingo package has been installed successfully by using the following command in R.

   > library(rLingo)


