Learn R Programming

fslr (version 2.25.3)

fsl_version: Find FSL Version

Description

Finds the FSL version from FSLDIR/etc/fslversion

Usage

fsl_version(full = FALSE)

fslversion()

fsl_version_gt5()

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.

Arguments

full

provide the full version, versus the numeric version

Examples

Run this code
if (have_fsl()) {
 fslversion()
 fsl_version()
}

Run the code above in your browser using DataLab