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

Description Usage Examples

View source: R/file.size.R

Description

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

Usage

1
2
3
4
5

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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 Dec. 13, 2021, 5:08 p.m.