R: Run a GAMS model from R

gams {gdxrrw} | R Documentation

## Run a GAMS model from R

### Description

Run a GAMS model from R.

### Usage

      gams(gmsAndArgs)

### Arguments

`gmsAndArgs` | Name of `.gms` file to run, with possible args

### Value

Return from executing `gams gmsAndArgs`

### Note

A common problem is failure to find the GAMS system directory. Use `igdx` to troubleshoot and solve this problem.

### Author(s)

Original coding by Rishabh Jain. Adopted and packaged by Steve Dirkse. Maintainer: R@gams.com

### See Also

`igdx`, `rgdx`, `wgdx`

### Examples

      ## Not run:
        gams("trnsport.gms")
        gams("myModel.gms lp=BDMLP --JOB_ID=case00")

    ## End(Not run)

[Package gdxrrw version 0.2.0 Index]