file.info: Backport of 'file.info' for R < 3.2.0

Description Usage Examples

Description

Argument extra_cols has been backported. See the original description in base::file.info.

Usage

1
file.info(..., extra_cols = TRUE)

Examples

1
2
3
4
5
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_file.info = getFromNamespace("file.info", "backports")

bp_file.info(file.path(R.home(), "COPYING"), extra_cols = FALSE)

Example output

                    size isdir mode               mtime               ctime
/usr/lib/R/COPYING 18092 FALSE  644 2014-02-20 02:43:56 2019-03-20 02:49:55
                                 atime
/usr/lib/R/COPYING 2019-09-10 05:30:37

backports documentation built on Dec. 13, 2021, 5:08 p.m.