Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread Pablo Landherr
Thanks for clarifying the situation for me. My main use of J is for what's called Explorative Data Analysis. This means that I construct J-expressions on the fly, putting data into temporary variables and, quite often, use plot to get a feel for my data. I.e., my use of plot is not in a carefully c

Re: [Jprogramming] Old trace function

2022-10-26 Thread Richard Donovan
Yes that’s the one thanks Chris. It is very useful for better understanding complex combinations and I’m sure it would be well worth resurrecting, preferably with documentation and even a video (@Bob T?) > On 25 Oct 2022, at 14:56, chris burke wrote: > > I think this is Simon Garland's fgh sc

Re: [Jprogramming] Old trace function

2022-10-26 Thread Richard Donovan
Raul, I think it is so useful it should be available immediately on starting J! > On 25 Oct 2022, at 15:54, Raul Miller wrote: > > Actually, thinking about this, a series of related essays might be useful. > > I'm not quite sure how they should be labeled. But using J to build > expression-lik

Re: [Jprogramming] Old trace function

2022-10-26 Thread Richard Donovan
Brian, I agree with you totally re fgh.ijs, which I consider to be exemplary, and also about Trace which I find confusing and disappointing. > On 25 Oct 2022, at 19:59, Brian Schott wrote: > > First of all, I agree with Raul's idea of an Essay approach and/or perhaps > a Lab or a video. Th

Re: [Jprogramming] Old trace function

2022-10-26 Thread Richard Donovan
Well done Rob, that’s very nice indeed! (As others have pointed out the one I was referring to was called fgh.ijs which may have disappeared in the sands of time!) > On 24 Oct 2022, at 13:58, 'Rob B' via Programming > wrote: > >  > > Richard, > > I recollect something similar but I've los

Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread Brian Schott
Resending: On Tue, Oct 25, 2022 at 6:02 PM Brian Schott wrote: > Pablo, > > I was able to execute the following code using jconsole. > See my version info below. Perhaps, this will help. > >QA=: {&a.@(a.&i.@]+[QI 26"_) >QI=: ?.@$ >Fcat=:161 38 QA 'a' >load'plot' >('xlabel ',,

Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread Don Guinn
Could you write a short verb to validate the data which calls plot if the data is correct to plot or give you an error message if not? On Wed, Oct 26, 2022 at 7:00 AM Brian Schott wrote: > Resending: > > On Tue, Oct 25, 2022 at 6:02 PM Brian Schott > wrote: > > > Pablo, > > > > I was able to ex

Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread Pablo Landherr
Re "a short verb to validate the data" How does a *short* verb determine that all possible combinations of plot instructions are correct? try. doesn't work. And why doesn't plot do it for me? try. 3+3 |spelling error | try. 3+3 | ^ Consider the following (which I generated in the browser base

Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread Don Guinn
Perhaps it could supply the plot parameters you put for your normal use. Validate lengths are correct. Not All possible errors, but the ones you have made often. On Wed, Oct 26, 2022, 7:33 AM Pablo Landherr wrote: > Re "a short verb to validate the data" > > How does a *short* verb determine tha

Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread 'robert therriault' via Programming
Pablo, If the issue is with jQt, is JHS an option? JHS does not use Qt at all. Cheers, bob > On Oct 26, 2022, at 08:55, Don Guinn wrote: > > Perhaps it could supply the plot parameters you put for your normal use. > Validate lengths are correct. Not All possible errors, but the ones you > hav

Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread bill lam
The endless loop or crash is a result of jqt popup error message inside paint loop. You can workaround it by define wdinfo_z_=: echo_z_ so that messages won't be popup On Wed, Oct 26, 2022 at 9:33 PM Pablo Landherr wrote: > Re "a short verb to validate the data" > > How does a *short* verb det

Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread Brian Schott
First picking up on Don's suggestion: simply replacing 'plot' with ';' as shown below can show that the number of arguments for plot are inconsistent. But this may not satisfy your bigger question. 'xlabel a b c d' ; 3 4 5 +--+-+ |xlabel a b c d|3 4 5| +--+-+

Re: [Jprogramming] Old trace function

2022-10-26 Thread Ian Clark
Chris wrote: > The script is below. Perhaps someone could check it, and then we put it in the addons? The 4th sample statement in Chris's script doesn't work for me. f&g 0 f_ (g_ 0) f&.g 0 |domain error | f&.g 0 JVERSION Engine: j902/j64/darwin Release-b: commercial/2021-02-18T13:02:38 Li