| wgdx {gdxrrw} | R Documentation |
Create a GDX file containing the GAMS data described in the lists .... Note that each list describes a separate data element - i.e. a set or parameter - all of which are written to a single file.
wgdx(gdxName, ...)
gdxName |
the name of the GDX file to write |
... |
zero or more lists describing the sets and parameters to write |
A common problem is failure to load the external GDX libraries that
are required to interface with GDX data. Use igdx to
troubleshoot and solve this problem.
Original coding by Rishabh Jain. Adopted and packaged by Steve Dirkse. Maintainer: R@gams.com
data(trnsport);
wgdx('wgdx1.gdx',sf,si,sj,sa,sb,sd);
## Not run:
# complete tests and examples can be run in the
# extdata directory of the gdxrrw package
# check .libPaths for a hint on where packages are installed
setwd("C:/R/2.12/gdxrrw/extdata")
source("tAll.R")
## End(Not run)