Hello all,
A further update for gretl's "R_functions" apparatus: it's now
possible to traffic in gretl bundles.
* You can pass a gretl bundle as an argument to an R function; it
will be converted to an R "list", with tags corresponding to the
bundle keys.
* You can return an R list from an R function and it will be
converted to a gretl bundle -- provided that all elements of the
list have associated tags. (Tags are optional for native R lists,
but they're not optional for conversion to a gretl bundle.)
There are certain restrictions (some of which may eventually be
relaxed). At present a gretl bundle to be passed to R can contain
only these gretl types: scalar, (real) matrix, string, array of
strings, and bundle. Similarly in the other direction: an R list to
be converted to a gretl bundle can contain only elements which
directly correspond to the gretl types just mentioned.
Allin