Improved function to load variables from gdx files (from Renger in GAMSWorld forum)

rgdx.var(varname, scen_name, res_fold)

Arguments

varname

Name of the variable to load

scen_name

Name of the scenarios to load

res_fold

Path to the folder where the gdx files are

Value

A data.table with the variable

References

https://forum.gamsworld.org/viewtopic.php?t=9966