On Sun, Jan 26, 2025 at 12:43 PM Sven Schreiber <sven.schreiber@fu-berlin.de> wrote:in applied work with a 'foreign' block where data is sent to R, I had the case of a string-valued series which was transferred as strings and then caused hiccups on the R side. I solved the problem by copying on the gretl side the series to another one, which then --as described in the guide-- only contains numbers.Give an example script, please.
Here's an example (where the data itself is based on the example in chapter 16):
<hansl>
end foreign
</hansl>
I'm not saying it's wrong that the strings are transferred, the question right now is if it's intended. But then I was also a bit surprised that in this example as.matrix still seems to keep the strings.
thanks
sven