On Sat, Jan 26, 2013 at 11:08 AM, Allin Cottrell <cottrell@wfu.edu> wrote:
On Sat, 26 Jan 2013, Skipper Seabold wrote:See part III of the Gretl User's Guide for details on
> Curious what level of integration `foreign` provides. This is the first
> I've heard of it.
interacting with R, Ox, Octave and Stata via the "foreign"
mechanism.
I presume that's the sort of thing people would want to do.
> Is the idea that you want to put gretl data into a numpy
> array, do some operation in Python, and then move the results back to a
> gretl data structure?
In relation to the other instances of "foreign" support, the
> NumPy provides a C-API, so you wouldn't actually have to
> write any Python code to make the data ferrying possible.
"natural" way of supporting Python would be to write a few I/O
functions in Python (as we've done for R and Octave). But
using the NumPy C-API would be another possibility.