fs_version: Find Freesurfer Version

View source: R/fs_version.R

fs_versionR Documentation

Find Freesurfer Version

Description

Finds the Freesurfer version from FREESURFER_HOME/build-stamp.txt

Usage

fs_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 fs_dir() to get the directory of FREESURFER

Examples

if (have_fs()) {
 fs_version()
}

muschellij2/freesurfer documentation built on Nov. 28, 2023, 4:45 a.m.