dcmtk_cmd_path: Get path for DCMTK command

View source: R/dcmtk_cmd_path.R

dcmtk_cmd_pathR Documentation

Get path for DCMTK command

Description

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

Usage

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")
}

muschellij2/dcmtk documentation built on March 6, 2025, 12:07 a.m.