sas.datasets(library)
This function assumes that all files ending with .ssd in the specified directory are SAS datasets.
The references cited below explain the structure of SAS datasets and how they are stored under UNIX.
SAS Institute Inc. (1988).
SAS\u\s-1\(rg\s+1\d Technical Report P-176,
Using the SAS\u\s-1\(rg\s+1\d System, Release 6.03, under UNIX\u\s-1\(rg\s+1\d Operating Systems and Derivatives.
SAS Institute Inc., Cary, North Carolina.
SAS Institute Inc. (1985).
SAS\u\s-1\(rg\s+1\d Introductory Guide.
Third Edition.
SAS Institute Inc., Cary, North Carolina.
sas.datasets("saslib") sas.datasets(lib=unix("echo $HOME/saslib")) [1] "mice" "men" mice <- sas.get(lib=unix("echo $HOME/saslib"), mem="mice")