This function calls DCMTK command passed to cmd
.
dcmtk_cmd(cmd, file = NULL, opts = "", outfile = NULL,
frontopts = "", verbose = TRUE, intern = FALSE, run = TRUE, ...)
cmd | (character) DCMTK command |
---|---|
file | (character) files to be manipulated |
opts | (character) operations to be passed to |
outfile | (character) output filenames |
frontopts | (character) options/character to put in before filename |
verbose | (logical) print out command before running |
intern | (logical) to be passed to |
run | (logical) should the command be executed? |
... | additional arguments passed to |
Result from system command, depends if intern is
TRUE
or FALSE
.