Run an External S-PLUS Utility

DESCRIPTION:

The CMD utility runs other external S-PLUS utilities in an appropriate environment. It is invoked from a shell command line.

USAGE:

Splus CMD utility [...]
Splus CMD -h
Splus CMD --help

REQUIRED ARGUMENTS:

utility
the utility to run. The utilities: INSTALL, and REMOVE are for installing and removing packages.

The utilities: build, and check are used for building and checking packages from source.

The utilities: SHLIB, HELPINSTALL, SINSTALL, DATAINSTALL, packup, and src2bin do the individual steps involved in building and installing packages. They are not often called directly by users.

The Sperl utility invokes the Perl interpreter after adding some S-PLUS directories to Perl's library search path.

OPTIONAL ARGUMENTS:

[...]
additional arguments for the utility.
-h, --help
print usage message.

SIDE EFFECTS:

The utility is run, see the help file for the particular utility to see any side effects.

DETAILS:

The CMD utility is a front end to other S-PLUS utilities. It provides a consistent method to invoke these utilities from either Windows or Unix/Linux. In particular, the environment includes the SHOME environment variable (where S-PLUS is installed) and the path to other S-PLUS utilities.

The CMD utility is invoked from a command shell window on both Windows and Unix/Linux. One way to open a command shell in Windows is from the Start Menu. Select Run and then in the dialog that opens up, enter cmd in the Open field. You must have the Splus script in your path to invoke this as Splus CMD. On Windows, the Splus script is actually the file Splus.bat in top level directory of your S-PLUS installation.

SEE ALSO:

, , , , , .
These utilities included with the pkgutils library section: , , , .

EXAMPLES:

# Run the INSTALL utility to install the package contained in the
#   directory mypkg.  The package will be installed in the library mylib
Splus CMD INSTALL -l mylib  mypkg

# Run the Sperl utility to find the version of Perl:
Splus CMD Sperl --version