Open 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q opened 2 months ago
Thanks for reporting. gamstransfer
does not change the user supplied records data.frame as much as possible. This is a corner case where the keyword level
clashes with the column name in the supplied records. This is a bug.
Note that readGDX
and writeGDX
are still undocumented functions that I don't recommend the users to use just yet. This is being developed to read GDX files with many symbols where the small amount of time to create a symbol object is a bottleneck. This is not usual but can happen in some cases. A typical example is a scalar GDX files. One should use the documented steps of creating a container and using the container method read
.
m = Container$new()
m$read("foo.gdx")
The bug is independent of this method. I will notify as soon as the bug gets fixed. Thanks.
Minimal working example:
The
level
set name collides with thelevel
column of the variable, disappearing.