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

file.info {backports} | R Documentation

## Backport of `file.info` for R < 3.2.0

### Description

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

### Usage

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

### Examples

    # 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)

[Package backports version 1.1.2 Index]