Hi
I use R a lot for making plots and LaTeX-tables from my gdx files. As I am too lazy to remember all the details for reading a variable, parameter, or set from a gdx file, I have written (my first) R package that does this all.
The syntax is simple:
library(gamsr)
import_gdxfile("trnsport.gdx") # Reads all data from a gdx file and stores them as objects in R
import_gdxfile("trnsport.gdx", c("z","d")) # Reads selected data from a file.
If you are interested, you can install it from Github
# The development version from GitHub
# install.packages("devtools")
devtools::install_github("arnyeinstein/gamsr")
It is work in progress and, as said, my first R package and my first experience with Github, so comments and feedbacks are more than welcome.
The next function I will add will be a function to generate a tex-file with a table
Cheers
Renger