sasExtractLetStrings: extract quoted or unquoted SAS string definitions

Description Usage Arguments


Finds all the LET statements in some SAS code and writes them to an R list. The list item name is the SAS variable name, and each list item is a character vector of the contents. This is specifically for string assignements, but probably easy to adapter to numbers if ever needed.





is a vector of character strings, typically taken from something like readLines(someSasFilePath)

Search within the icd9 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.