R: Parse model specification text

modelparse {mrgsolve} | R Documentation

## Parse model specification text

### Description

Parse model specification text

### Usage

    modelparse(txt, split = FALSE, drop_blank = TRUE, comment_re = c("//", "##"))

    modelparse_rmd(txt, split = FALSE, drop_blank = TRUE, comment_re = "//")

### Arguments

`txt` | model specification text
`split` | logical
`drop_blank` | logical; `TRUE` if blank lines are to be dropped
`comment_re` | regular expression for comments

### Examples

    file <- file.path(modlib(), "pk1.cpp")

    modelparse(readLines(file))

[Package mrgsolve version 0.11.1 Index]