Description Usage Arguments Value References Examples
this is modelled entirely on a single chunk of SAS code, but hopefully will have some generalizability. It relies heavily on lists and regex, but, as you will see from the code, R is not a great language with which to write a SAS parser.
1 | sasFormatExtract(sasTxt)
|
sasTxt |
is a character vector, with one item per line, e.g. from
|
list (of lists)
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473474.htm https://communities.sas.com/thread/47571?start=0&tstart=0 https://communities.sas.com/message/165945
1 2 3 4 | ## Not run:
sasFormatExtract(readLines('inst/extdata//comformat2012-2013.txt'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.