[Gretl-devel] note on Rlib

Riccardo (Jack) Lucchetti r.lucchetti at univpm.it
Tue Jul 7 08:39:25 EDT 2009


On Tue, 7 Jul 2009, Sven Schreiber wrote:

>>>> (b) are there portability problems?
>>>
>
> Again inspired from Python Zen ("Explicit is better than implicit."),
> what about using some kind of "include" statement at the top of a gretl
> script if it uses libR? That way the dependency is not buried and hidden
> and the script wouldn't fail half-way through but would refuse to run
> right from the start if R isn't present.

This is an _excellent_ idea. Even better than an "include", we may use 
our "set" command. Something like

set R_support [on|off]

with "off" as the default. What do you guys think?


Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti


More information about the Gretl-devel mailing list