Hi all,
I give a try to recently introduced summary() for table in Scilab 2026.1.0 core functions and I noticed that the name is not protected : indeed I installed the Stixbox module through the (new nice) ATOMS interface, required to extend the core Scilab set of features in Statistics, and it doesn’t complain about conflicting name, at least around summary . Stixbox summary() was called in kind of priority: calling summary on table (like tpwr9) was issuing an error since Stixbox summary() is dealing with matrix (like pwr9) only:
→ pwr9=plt3Phs(9);
→ tpwr9=table(pwr9’);
→ summary(tpwr9);
dans la fonction native min
à la ligne 38 de la fonction summary ( x\AppData\Local\scilab-2026.1.0\contrib\stixbox\3.0.1\macros\summary.sci ligne 46 )Fonction non définie pour les types fournis.
vérifier les arguments ou définir la fonction %table_min pour la surcharge.→ summary(pwr9)
ans = [struct] with fields:
min = 0.002
firstquartile = 0.004
median = 0.051302
mean = 0.1568859
thirdquartile = 0.131
max = 10.7702
Then I deactivate automatic load at startup of Stixbox, restart scilab session and I was able to run summary on table as expected, but not anymore on matrix:
→ pwr9=plt3Phs(9);
→ tpwr9=table(pwr9’);
→ summary(tpwr9);
table: [525600x3 table]
Variables:
Var1: double
Var2: double
Var3: doubleStatistics for numeric data:
Var1 Var2 Var3
__ __ _________NumMissing 0 0 0
Min 0.002 0.00347 0.02296
Median 0.002 0.00701 0.10067
Max 7.0633 10.7702 1.5373
Mean 0.1322625 0.2121595 0.1262356
Std 0.4534218 0.661969 0.1237363→ summary(pwr9)
à la ligne 3 de la fonction summary ( x\AppData\Local\scilab-2026.1.0\modules\spreadsheet\macros\summary.sci ligne 9 )summary: Wrong type for input argument #1: Must be in [“table”,“timeseries”].
Noticeably, when I asked afterwards to load Stixbox after startup, it seems because I called previously summary on table, it’s the scilab core summary function that is kind of priority called:
Start Specfun
Start Helptbx
Start Distfun
Start Stixbox
→ summary(tpwr9)
table: [525600x3 table]
Variables:
Var1: double
Var2: double
Var3: doubleStatistics for numeric data:
Var1 Var2 Var3
__ __ _________NumMissing 0 0 0
Min 0.002 0.00347 0.02296
Median 0.002 0.00701 0.10067
Max 7.0633 10.7702 1.5373
Mean 0.1322625 0.2121595 0.1262356
Std 0.4534218 0.661969 0.1237363→ summary(pwr9)
à la ligne 3 de la fonction summary ( x\AppData\Local\scilab-2026.1.0\modules\spreadsheet\macros\summary.sci ligne 9 )summary: Wrong type for input argument #1: Must be in [“table”,“timeseries”].
And I also noticed that: stixbox automatic startup deactivated, start session, start stixbox module, first call summary() on matrix successfully calls stixbox function and fails afterwards on table:
Initialisation :
Chargement de l’environnement de travailStart Sndfile 0.5.2: load macros, gateways, help, demos.
Start Time Frequency Toolbox - Version: 2.0.5
Load macros
Load gateways
Load help
Load demos→ exec(‘x3phHouses.sci’, -1)
Start Specfun
Start Helptbx
Start Distfun
Start Stixbox
→ pwr9=plt3Phs(9);
→ tpwr9=table(pwr9’);
→ summary(pwr9)
ans = [struct] with fields:
min = 0.002
firstquartile = 0.004
median = 0.051302
mean = 0.1568859
thirdquartile = 0.131
max = 10.7702→ summary(tpwr9)
dans la fonction native min
à la ligne 38 de la fonction summary ( x\AppData\Local\scilab-2026.1.0\contrib\stixbox\3.0.1\macros\summary.sci ligne 46 )Fonction non définie pour les types fournis.
vérifier les arguments ou définir la fonction %table_min pour la surcharge.
Suggestion : protect scilab core function name at installation phase to throw the error at that time and afterwards, maybe it is relevant to merge Stixbox in scilab core statistics functions ?! Handling native matrix type for summary would be useful in any case.
Thanks,
David