Learn R Programming

sasMap (version 1.0.0)

extractMacroDefs: Extract macro definitions from a string of SAS code

Description

Extract macro definitions from a string of SAS code

Usage

extractMacroDefs(sasCode)

Arguments

sasCode

SAS code

Value

Vector of macro definitions

Examples

Run this code
# NOT RUN {
sasFile <- system.file('examples/SAScode/Macros/Util1.SAS', package='sasMap')
sasCode <- loadSAS(sasFile)
extractMacroDefs(sasCode)
# }

Run the code above in your browser using DataLab