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)

backports documentation built on June 24, 2024, 5:24 p.m.