GAMScodeFilter {gms} | R Documentation |
Cleans GAMS code supplied from empty lines and comments.
GAMScodeFilter(x)
x |
A vector with lines of GAMS code (as you get by reading the code with readLines) |
The cleaned GAMS code
Jan Philipp Dietrich
GAMScodeFilter(c("","*comment","a=12;","","b=13;"))