The goal of freesurfer is a port/wrapper of Freesurfer to R.
Much of the operations of Freesurfer are incorporated. This package is very useful for structural imaging, such as MRI. Some of the fMRI functionality has not been ported or has limited capabiilty.
You can install the released version of freesurfer from CRAN with:
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("muschellij2/freesurfer")