Packages(Experimental)


Overview of Packages

A SAS/IML package consists of SAS/IML source code, documentation, data sets, and sample programs. A package is a convenient way for a programmer to download and install a function that extends the functionality of SAS/IML software. Similarly, authoring a package is a convenient way for an expert to disseminate a SAS/IML module that implements complex computations. Packages are experimental in SAS/IML 14.1.

You use the following PACKAGE statements to install, uninstall, and load packages:

  • The PACKAGE HELP statement displays documentation for the package.

  • The PACKAGE INFO statement displays information about an installed package.

  • The PACKAGE INSTALL statement installs a package in a predetermined location.

  • The PACKAGE LIBNAME statement creates a SAS libref to the data directory for a package.

  • The PACKAGE LIST statement lists the installed packages.

  • The PACKAGE LOAD statement loads modules that are defined by a package.

  • The PACKAGE UNINSTALL statement uninstalls a package.

You might obtain a package by downloading it from a website, such as the SAS/IML File Exchange (https://communities.sas.com/sas-iml-file-exchange). The File Exchange is also a great place to post a package so that other SAS/IML programmers can easily download it.

The File Exchange contains the RightTriangle package that is used as an example in this documentation.


Note: This procedure is experimental .