fsl_version: Find FSL Version

View source: R/fsl_version.R

fsl_versionR Documentation

Find FSL Version

Description

Finds the FSL version from FSLDIR/etc/fslversion

Usage

fsl_version(full = FALSE)

fslversion()

fsl_version_gt5()

Arguments

full

provide the full version, versus the numeric version

Value

If the version file does not exist, it will throw a warning, but it will return an empty string. Otherwise it will be a string of the version.

Note

This will use fsldir() to get the directory

Examples

if (have_fsl()) {
 fslversion()
 fsl_version()
}

fslr documentation built on May 29, 2024, 2:31 a.m.