[...]
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)
Ignacio Díaz-Emparanza Zuzendaria/Director ignacio.diaz-emparanza@ehu.eus 94 6013732 |
||
|
||
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.
|