check_ascii_file {fritools} | R Documentation |
Check the Number of Lines and Fields in a File
Description
Check the Number of Lines and Fields in a File
Usage
check_ascii_file(path, sep = ";")
Arguments
path |
Path to a file. |
sep |
A character separating the fields in the file. |
Value
A list giving the number of lines, number of fields and an boolean indicating whether all lines have the same number of fields.
See Also
Other CSV functions:
bulk_read_csv()
,
bulk_write_csv()
,
csv2csv()
,
csv
Examples
f <- tempfile()
write.csv2(mtcars, file = f)
check_ascii_file(f)
[Package fritools version 4.3.0 Index]