read_last_line: read the last line of all files in a folder

View source: R/files.R

read_last_lineR Documentation

read the last line of all files in a folder

Description

Read the last line of all files in a folder. This function is useful to check log files.

Usage

read_last_line(
  path = ".",
  pattern = NULL,
  recursive = TRUE,
  full.names = TRUE,
  ignore.case = FALSE,
  all.files = FALSE
)

Arguments

path

Full path to list.

pattern

Match patter. See list.files.

recursive

Recursive into sub-folders.

full.names

List full name.

ignore.case

Case-insensitive.

all.files

Whether to show invisible files.


XikunHan/geneticToolBox documentation built on Jan. 3, 2023, 4:12 a.m.