file.size: Backports of wrappers around 'file.info' for R < 3.2.0

View source: R/file.size.R

file.modeR Documentation

Backports of wrappers around file.info for R < 3.2.0

Description

See the original description in base::file.size.

Usage

file.mode(...)

file.mtime(...)

file.size(...)

Examples

# get functions from namespace instead of possibly getting
# implementations shipped with recent R versions:
bp_file.size = getFromNamespace("file.size", "backports")
bp_file.mode = getFromNamespace("file.size", "backports")
bp_file.mtime = getFromNamespace("file.size", "backports")

fn = file.path(R.home(), "COPYING")
bp_file.size(fn)
bp_file.mode(fn)
bp_file.size(fn)

mllg/backports documentation built on Aug. 12, 2024, 12:31 p.m.