[Gretl-devel] Re: Rlib daily update!

Sven Schreiber svetosch at gmx.net
Sat Jul 11 14:04:20 EDT 2009


Am 11.07.2009 19:53, Allin Cottrell schrieb:

> 
> Update: we're now following Sven's suggestion and using "R.", not
> "R_", for the R function namespace.

very cool!

> 
> Unless I'm missing something, there shouldn't be any collisions
> with native gretl things.  You could save a model named "R"
> and refer to it in the context of a "genr" expression but:
> 
> * to be a valid gretl construct, the next character after "R."
> would have to be '$', to get an accessor such as "R.$coeff", and
> 
> * '$' can't be the first character of an R function name, can
> it?

I'm not much of an R expert (yet), but $ is for accessing elements of R
lists as in mylist$myelement, right? So I would think you're right (and
you know more R than I do anyway).

thanks a lot!
sven





More information about the Gretl-devel mailing list