check_delimiter: Check delimiter

View source: R/check_delimiter.R

check_delimiterR Documentation

Check delimiter

Description

Automatically infer what delimiter is used to separate columns (e.g. ",", "\t"," "). Uses messages from fread to extract this inference.

Usage

check_delimiter(path, verbose = TRUE)

Arguments

path

Path to file.

verbose

Print messages.

Examples

dat <- echodata::BST1
path <- tempfile()
data.table::fwrite(dat, path, sep="\t")
delim <- echotabix::check_delimiter(path=path)

RajLabMSSM/echotabix documentation built on Nov. 21, 2023, 8:02 a.m.