Install dcm2nii to dcm2niir for conversion tools
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"
)
install_dcm2nii_bin(
progdir = system.file(package = "dcm2niir"),
dcm2niicmd = c("dcm2niix", "dcm2niix_feb2024", "dcm2nii_2009", "dcm2nii"),
overwrite = FALSE
)a character vector with path names of R libraries.
Passed to system.file
Force reinstallation if one already present
if this is TRUE, then git and cmake
are required and the current version is cloned from
https://github.com/rordenlab/dcm2niix
install using JPEG utilities
Installation directory for executable built
Additional options to pass to cmake, like
-DZLIB_IMPLEMENTATION=Cloudflare
print diagnostic messages
experimental, where the file should be cloned if source install. Do not use unless you know what you're doing.
URL of git repository used for building from source
(character) either "dcm2niix", "dcm2nii", or "dcm2nii_2009", which are different versions of dcm2nii.
install_dir = tempdir()
install_dcm2nii(progdir = install_dir)
#> [1] TRUE