IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 103 forks source link

Can we add an option to just display the important R commands? #8177

Open rdstern opened 1 year ago

rdstern commented 1 year ago

@ChrisMarsh82 and @lloyddewit I don't even know if this is possible?

I have now switched off the display of commands in the results window. I then didi a calculation, i.e. 2 + 3. In the output window I had the following:

image

So I switched on the commands so I could see the expression. Here it is:

image

It is nice that I have the 2 + 3 + 4, so I know what the expression is, but I always also have all the housekeeping commands as well.

This is just about the same for each dialogue, i.e. we a) get the data from a data frame - special R-Instat function. b) Do something, e.g. 2 + 3 + 4 c) Tidy up with more special R-Instat functions.

Could we have a halfway option on displaying the commands to just display b).

We will always have the whole thing in the script and log windows. But that would be more attractive in the results windows. After discussions with @dannyparsons I think this may be possible. I realise it might need a tweak on the R code generated by miost dialogues, but that could be worth it.

Related to this idea is that each halfway dialogue, might have a checkbox to `Display the R Expression. This might be checked by default if commands and not displayed. It would be disabled if either the full or just the mai9n R commands are displayed.

`

lloyddewit commented 1 year ago

@rdstern I don't think this issue requires any changes to the Log/script window. So I removed the log_script window label. I hope that's OK. If I misunderstood, then please restore the label, thanks.