Skip to content

freesurferformats

Read and Write 'FreeSurfer' Neuroimaging File Formats

v1.0.0 · Sep 8, 2025 · MIT + file LICENSE

Description

Provides functions to read and write neuroimaging data in various file formats, with a focus on 'FreeSurfer' <http://freesurfer.net/> formats. This includes, but is not limited to, the following file formats: 1) MGH/MGZ format files, which can contain multi-dimensional images or other data. Typically they contain time-series of three-dimensional brain scans acquired by magnetic resonance imaging (MRI). They can also contain vertex-wise measures of surface morphometry data. The MGH format is named after the Massachusetts General Hospital, and the MGZ format is a compressed version of the same format. 2) 'FreeSurfer' morphometry data files in binary 'curv' format. These contain vertex-wise surface measures, i.e., one scalar value for each vertex of a brain surface mesh. These are typically values like the cortical thickness or brain surface area at each vertex. 3) Annotation file format. This contains a brain surface parcellation derived from a cortical atlas. 4) Surface file format. Contains a brain surface mesh, given by a list of vertices and a list of faces.

Downloads

1.7K

Last 30 days

3030th

4.7K

Last 90 days

19.3K

Last year

Trend: +26.1% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (7)

suggests

Dependency Network

Dependencies Reverse dependencies pkgfilecache xml2 VertexWiseR fsbrain ieegio threeBrain wal neuromapr ravetools freesurferformats

Version History

new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.1.18 diff Sep 7, 2025
updated 0.1.18 ← 0.1.17 diff Feb 1, 2024
updated 0.1.17 ← 0.1.16 diff Feb 10, 2022
updated 0.1.16 ← 0.1.15 diff Nov 6, 2021
updated 0.1.15 ← 0.1.14 diff May 24, 2021
updated 0.1.14 ← 0.1.13 diff Jan 16, 2021
updated 0.1.13 ← 0.1.12 diff Sep 20, 2020
updated 0.1.12 ← 0.1.11 diff Aug 25, 2020
updated 0.1.11 ← 0.1.10 diff Jun 16, 2020
updated 0.1.10 ← 0.1.9 diff May 12, 2020
updated 0.1.9 ← 0.1.8 diff Apr 13, 2020
updated 0.1.8 ← 0.1.7 diff Feb 16, 2020
updated 0.1.7 ← 0.1.6 diff Jan 6, 2020
updated 0.1.6 ← 0.1.5 diff Nov 26, 2019
updated 0.1.5 ← 0.1.4 diff Nov 11, 2019
updated 0.1.4 ← 0.1.3 diff Nov 5, 2019
updated 0.1.3 ← 0.1.2 diff Oct 14, 2019
updated 0.1.2 ← 0.1.1 diff Oct 1, 2019
updated 0.1.1 ← 0.1.0 diff Sep 12, 2019