raw2gdx: raw2gdx

Description Usage Arguments

View source: R/write.R

Description

Save to a GAMS gdx file. Works on a named list providing domains and data as given by gdxrrw::rgdx. This is a *workaround* to fix bugs in the implementation of gdxrrw::wgdx, namely the problems that domains are lost when writing the output of gdxrrw:rgdx and that for variables, a '_field' domain has always to be given. Using this wrapper, round-tripping data between R and gdx files should be possible.

Usage

1
raw2gdx(gdx, var)

Arguments

gdx

the gdx filename.

var

list of properties of a gdx symbol as provided by gdxrrw::rgdx.


gdxdt documentation built on Dec. 1, 2019, 1:14 a.m.