El 19/06/15 a las 14:05, Sven Schreiber escribió:
Am 19.06.2015 um 14:01 schrieb Ignacio Diaz-Emparanza:
> I think the more simple and logical position now (given that currently
> we don't have a way to call a function from a different package)
Ignacio, I'm having a deja-vu again that we had this discussion before,
but let me ask (perhaps again):
If a function is declared as "public" in a package, it's easy to do
"include thispackage.gfn" and then you can call the included function,
say "publicfunc_fromthispackage", no?
Or what do you mean that it's not possible to call a function from
another package?
Umm ...It was not a very mature idea. I am now seeing more cons than pros.
The idea was that if I want to use in a new package a function (public
or private) that was already available in another one, It could be a way
of "including" it instead of copying it as a function in the new
package. For example Yi-Nung could be "including" my function
"HoltWinters" in his package in such a way that if I update it they has
automatically updated in 'fcmodels'. But now I am taking notice that for
using a package you have first to download it to your PC and with the
time this version may be left also outdated independently of having the
version updated at the server. So... please, forget it.
--
Ignacio Díaz-Emparanza
Departamento de Economía Aplicada III (Econometría y Estadística)
Universidad del País Vasco - Euskalherriko Unibertsitatea, UPV/EHU
Tfno: (+34) 94 601 3732
http://www.ehu.eus/ea3