Learn R Programming

foreign (version 0.8-83)

lookup.xport: Lookup Information on a SAS XPORT Format Library

Description

Scans a file as a SAS XPORT format library and returns a list containing information about the SAS library.

Usage

lookup.xport(file)

Value

A list with one component for each dataset in the XPORT format library.

Arguments

file

character variable with the name of the file to read. The file must be in SAS XPORT format.

Author

Saikat DebRoy

References

SAS Technical Support document TS-140: “The Record Layout of a Data Set in SAS Transport (XPORT) Format” available as https://support.sas.com/content/dam/SAS/support/en/technical-papers/record-layout-of-a-sas-version-5-or-6-data-set-in-sas-transport-xport-format.pdf

See Also

read.xport

Examples

Run this code
if (FALSE) ## no XPORT file is installed.
lookup.xport("test.xpt")

Run the code above in your browser using DataLab