On 28/02/15 23:16, Allin Cottrell wrote:
[...]

2. Packages can now be uploaded in zip-file form

Until recently all regular packages (as opposed to "addons") had to take the form of simple gfn (XML) files. Now they can be zip files, allowing the possibility of including extra material in the package. Examples on the server: HIP.zip (Jack Lucchetti and Claudia Pigini) and almonreg.zip (not very exciting, written by me as a test case).

The "extra material" we have in mind may include

* PDF documentation
* Zero or more data files (gdt or gdtb)
* Zero or more matrix files
* Zero or more bundle (XML) files

If you include a data file with your package this can be opened in
your sample script using the new --frompkg option to "open", which
requires the name of the package as a parameter; for example

open almon.gdt --frompkg=almonreg

If you include a matrix file (perhaps to hold a bunch of critical values for a specialized test) you can open it in your function code using the built-in $pkgdir string variable, as in

string mname = sprintf("%s/critvals.mat", $pkgdir)
matrix C = mread(mname)



I just tried to update the GHegy function package in this way and locally it works. But when I upload the package to the server I don't see the needed matrices being uploaded ( to the staging area). What must I do to upload the matrices?


--
Firma Arista
Ignacio Díaz-Emparanza
Zuzendaria/Director
ignacio.diaz-emparanza@ehu.eus
94 6013732
EKONOMIA APLIKATUA III SAILA (EKONOMETRIA ETA ESTATISTIKA)/ DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU

Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013740 | F.: +34 946013754
www.ehu.eus/es/web/ea3
ERNE! Baliteke mezu honen zatiren bat edo mezu osoa legez babestuta egotea. Mezuak badu bere hartzailea. Okerreko helbidera heldu bada (helbidea gaizki idatzi, transmisioak huts egin) eman abisu igorleari, korreo honi erantzunda. Kontuz! Mezua ez bada zuretzat, ez erabili, ez zabaldu beste inori, ez kopiatu eta ez baliatu.
¡ATENCIÓN! Este mensaje contiene información privilegiada o confidencial a la que sólo tiene derecho a acceder el destinatario. Si usted lo recibe por error le agradeceríamos que no hiciera uso de la información y que se pusiese en contacto con el remitente.

E-mail hau inprimatu baino lehen egiaztatu inprimatzeko beharra.
Antes de imprimir este e-mail piense bien si es necesario hacerlo.