[Gretl-devel] Gretl and R integration

Allin Cottrell cottrell at wfu.edu
Sat May 24 21:17:13 EDT 2008


On Sat, 24 May 2008, Riccardo (Jack) Lucchetti wrote:

> While we're on this: I just committed a few changes, mostly 
> cosmetic, to the "export from R" machine:
> 
> 1) the function gretl_export and the string gretl_dotdir were 
> renamed to gretl.export and gretl.dotdir. I'm no R export, but 
> it looks like more polite to use the dot rather than the 
> underscore in R-land.

It seems to me a weird tic in the R language that '.' has no 
special syntactical charge in the middle of an identifier -- but 
let it not be said that we are lacking in politesse!

BTW, please watch out for some changes in CVS: I'm moving the 
R-file writing apparatus from gui_utils.c to a new file, 
lib/src/foreign.c, so as to support command-line invocation of 
chunks of external script, as per Ignacio's suggestion.

> 2) we had a naming problem when exporting a time-seried object 
> with just one variable; now fixed (a bit clumsily, but as I said 
> I'm no R expert).

If it works, then hey!

> We have an open problem: if some sort of subsampling is in 
> effect on the gretl side, mostl likely the append mechanism 
> won't work...

Append has some "issues".  That's been on my agenda for a while, 
but I'll see if I can do anything that might be useful in this 
context.

Allin.


More information about the Gretl-devel mailing list