freesurfer: Wrapper Functions for 'FreeSurfer'

Wrapper functions that interface with 'Freesurfer' <https://surfer.nmr.mgh.harvard.edu/>, a powerful and commonly-used 'neuroimaging' software, using system commands. The goal is to be able to interface with 'Freesurfer' completely in R, where you pass R objects of class 'nifti', implemented by package 'oro.nifti', and the function executes an 'Freesurfer' command and returns an R object of class 'nifti' or necessary output.

Version: 1.9.0
Depends: R (≥ 4.1)
Imports: cli, lifecycle, methods, neurobase, R.utils, tools, stats, utils
Suggests: covr, knitr, oro.nifti (≥ 0.7), rgl, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-10-07
DOI: 10.32614/CRAN.package.freesurfer
Author: John Muschelli ORCID iD [aut, cre, cph], Athanasia Mo Mowinckel ORCID iD [ctb]
Maintainer: John Muschelli <muschellij2 at gmail.com>
BugReports: https://github.com/muschellij2/freesurfer/issues
License: GPL-3
URL: https://johnmuschelli.com/freesurfer/, https://github.com/muschellij2/freesurfer
NeedsCompilation: no
SystemRequirements: FreeSurfer (https://freesurfer.net/)
Citation: freesurfer citation info
Materials: README, NEWS
CRAN checks: freesurfer results

Documentation:

Reference manual: freesurfer.html , freesurfer.pdf
Vignettes: Advanced usage & future plans (source, R code)
Analyzing and Visualizing Freesurfer Outputs (source)
Getting Started and Setting Up 'freesurfer' in R (source, R code)
Core Image Processing (source)
Running 'recon-all' (source, R code)

Downloads:

Package source: freesurfer_1.9.0.tar.gz
Windows binaries: r-devel: freesurfer_1.8.1.zip, r-release: freesurfer_1.8.1.zip, r-oldrel: freesurfer_1.9.0.zip
macOS binaries: r-release (arm64): freesurfer_1.9.0.tgz, r-oldrel (arm64): freesurfer_1.9.0.tgz, r-release (x86_64): freesurfer_1.9.0.tgz, r-oldrel (x86_64): freesurfer_1.9.0.tgz
Old sources: freesurfer archive

Reverse dependencies:

Reverse suggests: ggseg.meshes

Linking:

Please use the canonical form https://CRAN.R-project.org/package=freesurfer to link to this page.