Some of the public libraries in Analyst can be run externally outside the UI. A separate archive
of the libraries is included within the primary Analyst
.zip file, named
README.md is included within the
axlibraries.zip archive with installation instructions.
Loading in native q
Once the installation is set up, ensure the following environment variables are set correctly.
||Directory containing q.k|
||Directory of q license file|
||Path to the
||Colon separated paths from which q files can be imported||✓|
Once these variables are set, the libraries can be loaded into a native q process in the following
<library> with the library of your choice):
$ q $AXLIBRARIES_HOME/ws/<library>.q_
To load multiple libraries one can use either of the equivalent methods below (substituting
the library of your choice):
$ q q)system "l ",getenv[`AXLIBRARIES_HOME],"/ws/<library>.q_"
$ q q)\l $AXLIBRARIES_HOME/ws/<library>.q_