On Wed, Sep 21, 2011 at 9:46 AM, Johann Hibschman <[email protected]> wrote: > [2] By this I mean understanding what exactly (require 'stats') does, > compared to (require 'stats/base') or (require > '~addons/stats/base/base.ijs').
You can investigate this for yourself, in j6.02, using open in place of require. That said, these three alternatives are equivalent: require 'stats/base' require '~addons/stats/base/base.ijs' require 'stats/base/random' require 'stats/base/distribution' require 'stats/base/combinatorial' require 'stats/base/univariate' require 'stats/base/multivariate' ... and these next three alternatives are equivalent to each other, but are not equivalent to the above three: require 'stats' require '~system\packages\stats\stats.ijs' require '~system\packages\stats\random.ijs' require '~system\packages\stats\statfns.ijs' require '~system\packages\stats\statdist.ijs' In essence: 'stats' and 'stats/base' are two different pieces of software that happen to define some of the same names. I do not know why they have not been merged. Perhaps no one has cared to take the time to deal with all the issues? -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
