It looks like you need to install the addon packages. Probably the simplest way to do that is (when you're connected to the internet, which might be always), run
install'all' from the J command line. (This should be a recommended step in the install instructions, but a quick peek didn't find that for me.) I hope this helps, -- Raul On Wed, Dec 28, 2022 at 5:08 PM Galaxy Being <borg...@gmail.com> wrote: > > Yes, thanks so far for the advice. One problem I'm having with "performing > experiments" is issues with libraries and packages. I'm using Emacs org > mode babel (see here > <https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-J.html>) and > it's going surprisingly well -- as in it just seems to work after > installing the j-mode and adding J to the org-mode Babel world. (I'm a > literate programming die-hard.) Unfortunately, I'm seeing examples where > the file structure of my J903 and the support files don't coincide. For > example, this code <https://code.jsoftware.com/wiki/Studio/Viewmat> isn't > working. > > #+begin_src J :exports both :session *j-org* > require 'viewmat' > hp=: 3 : '(|.,]) 1 (0 _2 _2 ,&.> _2 _1 0 + #y) } (,.|:) y' > MG=: 256 #. 128 0 128,:0 192 0 > viewrgb 2 ([ # #"1) MG {~ hp ^:6 [ 0, 0 1 0 ,: 0 > #+end_src > > #+RESULTS: > : not found: /home/galaxybeing/opt/j903/addons/graphics/viewmat/viewmat.ijs > : |file name error: script > : | 0!:0 y[4!:55<'y' > : > : |value error: viewrgb > : | viewrgb 2([##"1)MG{~hp^:6[0,0 1 0,:0 > > ...and no, there is no viewmat.ijs. Likewise, the example > > #+begin_src J > load 'plot' > plot 1 o. 0.1 * i.200 > #+end_src > > #+RESULTS: > : not found: /home/galaxybeing/opt/j903/addons/graphics/plot/plot.ijs > : |file name error: script > : | 0!:0 y[4!:55<'y' > : > : |value error: plot > : | plot 1 o.0.1*i.200 > > ...isn't finding plot. Please advise. So what is the best, preferred IDE > for J? Does J need the whole keyboard of strange symbols like APL and BQN? > > On Wed, Dec 28, 2022 at 3:49 PM Raul Miller <rauldmil...@gmail.com> wrote: > > > (So it's both an array language and a functional programming language, > > at least approximately speaking...) > > > > Anyways, my advice for learning (if you learn the way I learn): try > > and schedule half an hour a day on learning J and try to spend at > > least some of that time forming and performing experiments in the > > language. (Ideally, also, take notes of things which bother you and > > see if you can find out how to resolve those issues on future days.) > > > > I hope this helps, > > > > -- > > Raul > > > > On Wed, Dec 28, 2022 at 4:39 PM 'Pascal Jasmin' via Programming > > <programm...@jsoftware.com> wrote: > > > > > > > J is an "array programming language," which is what exactly? > > > > > > J is a functional programming language where every function is an > > operator with 1 or 2 arguments. > > > > > > An array language is one where arrays are easy to input, and functions > > "automatically" extend to full arrays with implied map/zip functionality. > > > > > > > > > > > > > > > On Wednesday, December 28, 2022 at 01:13:31 p.m. EST, Galaxy Being < > > borg...@gmail.com> wrote: > > > > > > > > > > > > > > > > > > Hello, > > > > > > I would like to learn J programming paradigm. I have a standard > > programming > > > background (C/C++, Java) along with some basic math, as well as some > > > functional programming exposure. I understand, however, that J is an > > "array > > > programming language," which is what exactly? I've heard it is based on > > SKI > > > combinator math. Is this true? So my question is, What background > > > materials, texts, etc. should I study to get a theoretical understanding > > of > > > the J world? I watched this <https://youtu.be/z8MVKianh54> and a few > > Tracy > > > Harms videos, so yes, where does a beginner get started -- especially > > with > > > the theory behind it all? > > > > > > Thank you. > > > ⨽ > > > Lawrence Bottorff > > > Grand Marais, MN, USA > > > borg...@gmail.com > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > -- > ⨽ > Lawrence Bottorff > Grand Marais, MN, USA > borg...@gmail.com > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm