On Thu, 6 Nov 2014, Sven Schreiber wrote:
this is a feature request or alternatively a request for help
finding
another solution...
When doing
"foreign language=xxx --send-data"
I would like to specify a list of series that is being sent, instead of
the whole dataset, e.g. like this:
"foreign language=xxx --send-data=mylist"
where of course 'mylist' must exist.
This way I could (trivial example ahead) run a regression in R while
controlling from the gretl side the exact variables that I want to use
in there, and _without_ having to know their names within R. Inside R I
would just use the generic 'gretldata' name for all the data that is
passed. The ordering of series/variables inside the list would be
important, however.
Or can this be achieved already somehow?
It can be achieved by passing the data in question in the form of a
matrix. The --send-data option won't do that but the User's Guide
describes how to pass matrices back and forth.
However, I like the idea of adding an optional list parameter to the
--send-data option. That would not be difficult.
Allin