Uses Sys.which to check if command is in the PATH.

dcmtk_cmd_path(cmd)

Arguments

cmd

DCMTK command name

Value

Logical TRUE if command is available.

Examples

if (have_dcmtk_cmd("dcmodify")) {
   dcmtk_cmd("dcmodify")
}