install_dcm2nii: Install dcm2nii tools

Description Usage Arguments Examples

View source: R/install_dcm2nii.R

Description

Install dcm2nii to dcm2niir for conversion tools

Usage

1
2
3
4
install_dcm2nii(lib.loc = NULL, overwrite = FALSE,
  from_source = FALSE, jpeg = FALSE, progdir = NULL,
  cmake_opts = "", verbose = TRUE, source_clone_dir = NULL,
  git_url = "https://github.com/rordenlab/dcm2niix")

Arguments

lib.loc

a character vector with path names of R libraries. Passed to system.file

overwrite

Force reinstallation if one already present

from_source

if this is TRUE, then git and cmake are required and the current version is cloned from https://github.com/rordenlab/dcm2niix

jpeg

install using JPEG utilities

progdir

Installation directory for executable built

cmake_opts

Additional options to pass to cmake, like -DZLIB_IMPLEMENTATION=Cloudflare

verbose

print diagnostic messages

source_clone_dir

experimental, where the file should be cloned if source install. Do not use unless you know what you're doing.

git_url

URL of git repository used for building from source

Examples

1
2
install_dir = tempdir()
install_dcm2nii(progdir = install_dir)

muschellij2/dcm2niir documentation built on Oct. 25, 2019, 8:13 p.m.