knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

Overview

gamsr is a small package that helps importing all or selected data from a gdx file generated by GAMS using a single command.

Installation

# The development version from GitHub
# install.packages("devtools")
devtools::install_github("arnyeinstein/gamsr")

Example

library(gamsr)
import_gdxfile("trnsport.gdx") # Reads all data from a gdx file
import_gdxfile("trnsport.gdx", c("z","d")) # Reads selected data from a file.


arnyeinstein/gamsr documentation built on May 23, 2019, 6:03 a.m.