detectASCIIProp: Get properties of ASCII file to read it with 'read.table'

View source: R/readTXT.R

detectASCIIPropR Documentation

Get properties of ASCII file to read it with read.table

Description

To get header, separator, column with na values, etc.

Usage

detectASCIIProp(dsn, lns = 20, verbose = TRUE)

Arguments

dsn

(character) File path or connection

lns

(numeric) Number of lines to read to get the properties of the ASCII file

verbose

(boolean) If TRUE print messages allowed.

Details

don't forget to skip blank line when reading dsn

Value

1) header, 2) skip, 3)


emanuelhuber/RGPR documentation built on March 18, 2024, 8 p.m.