detect_delim

0th

Percentile

Automatically detect line delimiters in a text file

This helper function was written expressly for set_physical to be able to automate its recordDelimiter argument.

Usage
detect_delim(path, nchar = 1000)
Arguments
path

(character) File to search for a delimiter

nchar

(numeric) Maximum number of characters to read from disk when searching

Value

(character) If found, the delimiter, it not, \r\n

Aliases
  • detect_delim
Documentation reproduced from package EML, version 2.0.4, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.