Here's a follow up to Stefano's comments on mread() and mwrite(),
for which, thanks!
Executive summary: round-tripping (writing a matrix to file using
mwrite then reading it back via mread) works correctly if you use any
of the "standard" filename extensions: ".mat" for a plain file, ".gz"
for gzi
just updated to current snapshot so I will never know if this would have
made a difference - btw, the current documentation does not mention this...
thanks and happy new year!
Stefano
Please try using the ".mat" extension for native gretl matrix files.
If you use ".txt" or ".csv" gretl can get c
It looks like it is a local problem. I just tested the minimal working
example
x = ones(nrows,2)
mwrite(x,"test.txt")
xx=mread("test.txt")
mwrite(x,"test.csv")
xx=mread("test.csv")
<\hansl>
with interesting results in successive execution in the same session:
* nrows=2: "Data error";
* nro
dear all,
I run into a weird problem with the functions mwrite and mread (Gretl
2019b; ok, I am six month behind... yet I bet there are thousand of
users out there with even older versions, so the post could be of some
interest). Mwrite creates csv and txt files with matrix dimensions in
row 1