scann: Scan exactly n values from source string.

View source: R/read_fs_transform.R

scannR Documentation

Scan exactly n values from source string.

Description

Scan exactly n values from source string.

Usage

scann(cstring, num = 1L, what = integer(), line_number = NULL)

Arguments

cstring

the input character string

num

integer, the number of expected resulting items.

line_number

optional integer, the line number (if the string represents a line from a text file). Will be printed in error message, if any.

Value

vector of type integer or double


freesurferformats documentation built on May 29, 2024, 5:29 a.m.