Learn R Programming

sasMap (version 1.0.0)

removeSingleLineComments: Remove single line comments from a vector of SAS statements

Description

Finds and removes all lines starting with "*"

Usage

removeSingleLineComments(sasVec)

Arguments

sasVec

Vector of SAS code

Examples

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

Run the code above in your browser using DataLab