file_size: Function to get file size.

View source: R/file_size.R

file_sizeR Documentation

Function to get file size.

Description

Function to get file size.

Usage

file_size(file, unit = "mb")

Arguments

file

File name.

unit

Measurement unit. Default is "mb" for megabytes.

Value

Numeric vector with length of one.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.