R: Initialize the External GDX Libraries

igdx {gdxrrw} | R Documentation

## Initialize the External GDX Libraries

### Description

Initialize (i.e. load) the external GDX libraries that are required to interface with GDX data, and report on the status of the initialization.

### Usage

    igdx(gamsSysDir=NULL, silent=FALSE)

### Arguments

`gamsSysDir` | a directory containing the external GDX libraries, typically the GAMS system directory. If this argument is omitted, no loading is done but we still report on the initialization status.
`silent` | controls logging of results

### Note

The directory containing the external GDX libraries is also where we look for the gams executable, so calling `igdx` prior to calling `gams` ensures that the gams executable can be located. Consider saving a .First function like the following to your R workspace: `.First <- function() { library(gdxrrw) ; igdx("/your/GAMS/sysdir")}`

### Author(s)

Steve Dirkse. Maintainer: R@gams.com

### See Also

`rgdx`, `wgdx`, `gams`, `gdxInfo`

### Examples

      ## Not run:
        igdx("C:\Program Files\gams23.6");
        igdx("/usr/gams/23.6.3");

    ## End(Not run)
      igdx();

[Package gdxrrw version 0.2.0 Index]