On Sun, Nov 6, 2011 at 7:20 AM, Andrew Pennebaker <andrew.penneba...@gmail.com> wrote: \> I tried using the J GUI to install the base library, but by default, gtkide > isn't installed. It says to install 'gtkide', so that's what I did.
You can also use the GUI in the JHS interface to install addons (i.e. it is not necessary to install GTK to use a GUI). I'd encourage you to update the Wiki where you believe clarification is needed. > In the process, I noticed that J installed the base library, so it would be > super helpful if the JAL > wiki<http://www.jsoftware.com/jwiki/JAL/User%20Guide>said this is how > you install the base library: > > install 'base' Note that the base library is installed as part of the intial J install. "Base Library" refers to anything under ~system/ The base library may change after the installer is created and it is possible to upgrade to newer versions of the base library using the various Package manager interfaces. > But I can't figure out how to install jpkg. The wiki doesn't say how to. jpkg is part of the base library and so installed out-of-the-box in J7. The install verb you used uses jpkg under-the-covers. To install the addon 'stats/base' using jpkg: load 'pacman' 'update' jpkg '' NB. updates the local cache of what is currently available in JAL 'install' jpkg 'stats/base' > Neither install 'stats-base' nor install 'stats/base' seem to install the > stats-base <http://www.jsoftware.com/jwiki/Addons/stats/base> addon, so I > used the jgtk701.app GUI once gtkide was installed. > I successfully loaded 'stats/base/random', but it's not clear from the > docs<http://www.jsoftware.com/jwiki/Addons/stats/base/random>how to > randomize a seed. Could someone give an example of how to use > randomize in tandem with 9!:0? <start a new J session (console/jhs/jgtk)> require 'stats/base/random' NB. require 'stats/base' works too randomize'' NB. new random seed has now been set ?16 NB. test - should be different to answer if you hadn't randomized the seed ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm