cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-780753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EInizializza%20i%20dati%3A%20molto%20utile%2C%20ma%20fragile!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECiao%2C%20le%20impostazioni%20%3CSTRONG%3Edi%20inizializzazione%20dei%20dati%3C%2FSTRONG%3E%20nel%20menu%20della%20colonna%20sono%20molto%20utili.%3CBR%20%2F%3E%20Chi%20%C3%A8%20riuscito%20a%20controllare%20le%20impostazioni%20tramite%20JSL%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3ENell'indice%20degli%20script%20ho%20appena%20trovato%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67022iF9EC9A76293C1199%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_2-1723308563244.png%22%20alt%3D%22hogi_2-1723308563244.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Eche%20si%20adatta%20alla%20modalit%C3%A0%20%22costante%22.%20Come%20posso%20impostare%20le%20altre%20modalit%C3%A0%3F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67020iC7FF90870C65ED6D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_0-1723307960193.png%22%20alt%3D%22hogi_0-1723307960193.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-780753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomazione%20e%20scripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780763%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Inizializzazione%20dei%20dati%3A%20molto%20utile%2C%20ma%20fragile!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780763%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESolo%20Constant%20e%20Today%20utilizzano%20specificatamente%20i%20dati%20iniziali%2C%20gli%20altri%20li%20creano%20utilizzandoli%20per%20ogni%20riga%20(sembra%20che%20il%20registratore%20di%20azioni%20JMP%20registri%20in%20modo%20errato%20le%20azioni%20per%20l'inizializzazione%20dei%20dati%20Constant%20e%20Today).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Inizializzazione%20dei%20dati%3A%20molto%20utile%2C%20ma%20fragile!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F14366%22%20target%3D%22_blank%22%3E%40jthi%3C%2FA%3E%20ha%20scritto%3A%3CBR%20%2F%3E%3CP%3E%20Solo%20i%20dati%20costanti%20e%20quelli%20odierni%20utilizzano%20specificatamente%20i%20dati%20iniziali%2C%20il%20resto%20li%20costruisce%20utilizzandoli%20per%20ogni%20riga%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EAh%20giusto%2C%20buon%20punto.%20Sorprendente...%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3EToday()%3C%2FFONT%3E%20%3CSPAN%3E%C3%A8%20davvero%20(!!!)%20utile.%3CBR%20%2F%3E%3C%2FSPAN%3E%20Ogni%20nuova%20riga%20viene%20aggiunta%20con%20la%20marca%20temporale%20corrente%3A%20una%20sorta%20di%20%22magia%22%20nascosta%20che%20non%20%C3%A8%20visibile%20nello%20script%20della%20tabella%20dati.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20207px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20207px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20207px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20207px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67026i2FB7DF890A837ECE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_3-1723316051681.png%22%20alt%3D%22hogi_3-1723316051681.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20Peccato%20che%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Ei%20dati%20di%20sequenza%3C%2FFONT%3E%20e%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Ecasuali%3C%2FFONT%3E%20siano%20accessibili%20solo%20all'inizio%2C%20senza%20possibilit%C3%A0%20di%20attivarli%20in%20seguito%3A%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20261px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20261px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20261px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20261px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67023iD599806EB177870E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_0-1723314837949.png%22%20alt%3D%22hogi_0-1723314837949.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3CSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EE%20quando%20un%20utente%20modifica%20l'impostazione%20in%3C%2FSPAN%3E%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3EMancante%2FVuoto%3C%2FFONT%3E%20%3CSPAN%3Eo%20perde%20l'opportunit%C3%A0%20di%20definire%20un'impostazione%20%3CSTRONG%3EData%20di%20inizializzazione%3C%2FSTRONG%3E%20prima%20di%20scrivere%20il%20primo%20valore%20nella%20colonna%2C%20perde%20la%20possibilit%C3%A0%20di%20visualizzare%20il%20menu.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20Ecco%20alcune%20cose%20che%20potrebbero%20essere%20migliorate%20in%20una%20futura%20versione%20di%20JMP...%3CBR%20%2F%3E%20D'altra%20parte%2C%20non%20so%20se%20altri%20utenti%20JMP%20utilizzano%20questa%20funzionalit%C3%A0%3CBR%20%2F%3E%20-%20e%20quanti%20di%20loro%20si%20sentono%20limitati%20dalle%20funzionalit%C3%A0%20attuali.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780783%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Inizializzazione%20dei%20dati%3A%20molto%20utile%2C%20ma%20fragile!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780783%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EQuando%20uso%20JSL%20per%20creare%20colonne%20e%20specificare%20valori%20per%20quelle%20colonne%2C%20tendo%20a%20essere%20molto%20specifico%20e%20faccio%20cose%20come%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%3DNew%20Table()%3B%0A%0Ac%3Ddt%26lt%3B%3CNEW%20column%3D%22%22%3E%3C%2FNEW%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MathStatChem_0-1723354883309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MathStatChem_0-1723354883309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MathStatChem_0-1723354883309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MathStatChem_0-1723354883309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67028i7928BE9969AE72B6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22MathStatChem_0-1723354883309.png%22%20alt%3D%22MathStatChem_0-1723354883309.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FP%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%20%3C%2FCODE%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780793%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3ERe%3A%20Inizializzazione%20dei%20dati%3A%20molto%20utile%2C%20ma%20fragile!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780793%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3EImpostare%20ogni%20valore%3C%2FFONT%3E%20%C3%A8%20molto%20comodo.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%3ARandom%20Normal%20Data%20%26lt%3B%26lt%3B%20Set%20Each%20Value(Random%20Normal())%3B%0A%3A%20%22All%20A's%22n%20%26lt%3B%26lt%3B%20set%20each%20value(%22A%22)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3EPu%C3%B2%20essere%20utilizzato%20anche%20durante%20la%20creazione%20della%20colonna%3A%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3ENew%20Column(%22col%22%2C%20set%20each%20value()).%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3ESpero%20che%20mantenga%20la%20sua%20versatilit%C3%A0%3A%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FJMP-Wish-List%2FMake-using-formula-expressions-in-Set-Each-Value-and-using%2Fm-p%2F666966%23U666966%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-idea-thread%20lia-fa-icon%20lia-fa-idea%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3EUtilizzare%20espressioni%20di%20formule%20in%20Imposta%20ogni%20valore%20e%20utilizzare%20espressioni%20come%20primo%20argomento%20in%20Col%20comportamento%20supportato%20dalle%20formule%20statistiche%3C%2FA%3E%20%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
hogi
Level XII

Initialize data - very useful - but fragile!

Hi, the initialize data settings in the column menu are quite useful.
Who managed to control the settings via JSL?

In the scripting index, I just found:

hogi_2-1723308563244.png

which fits to "constant" mode. How can I set the other modes?

 

hogi_0-1723307960193.png

4 REPLIES 4
jthi
Super User

Re: Initialize data - very useful - but fragile!

Only constant and today are specifically using initial data, rest are building them using for each row (JMP action recorder seems to be recording actions for Constant and Today data initialization incorrectly).

-Jarmo
hogi
Level XII

Re: Initialize data - very useful - but fragile!


@jthi wrote:

Only constant and today are specifically using initial data, rest are building them using for each row 


Ah right, good point. Surprising ...


Today() is really (!!!) useful.
Every new row is added with the current timestamp -  some hidden "magic" which is not visible from the script for the data table.

hogi_3-1723316051681.png

A pity that Sequence Data and Random are just accessible in the beginning - no chance to trigger them later:
hogi_0-1723314837949.png

And when a user changes the setting to
Missing/Empty or misses the chance to define a  Initialize Date setting before he writes the first value into the column - he loses his chance to see the menu. 

So, some things that could be improved in a future version of JMP ...
On the other hand, I don't know id other JMP users use this feature
- and how many of them feel limited by the current functionality.

MathStatChem
Level VI

Re: Initialize data - very useful - but fragile!

When I use JSL to create columns and specify values for those columns, I tend to be very specific and do things like

dt=New Table();

c=dt<<New Column("Random Normal Data");
dt << Add Rows(20);

c << Set Values(J(nrows(dt), 1, Random Normal()));

c=dt << New Column("All Ones");
c << set values(J(nrows(dt), 1));

dt << New Column("All A's", Character);

for each row(
	:"All A's"n = "A"
);

MathStatChem_0-1723354883309.png

 

hogi
Level XII

Re: Initialize data - very useful - but fragile!

Set each value is very convenient.

 

:Random Normal Data << Set Each Value(Random Normal());
: "All A's"n << set each value("A");


It can also be used during the creation of the column: New Column("col", set each value()).

 

I hope it keeps it's versatility:

Make using formula expressions in Set Each Value and using expressions as first argument in Col stat...