Learn R Programming

textTinyR (version 1.1.8)

bytes_converter: bytes converter of a text file ( KB, MB or GB )

Description

bytes converter of a text file ( KB, MB or GB )

Usage

bytes_converter(input_path_file = NULL, unit = "MB")

Value

a number

Arguments

input_path_file

a character string specifying the path to the input file

unit

a character string specifying the unit. One of KB, MB, GB

Examples

Run this code

if (FALSE) {

library(textTinyR)

bc = bytes_converter(input_path_file = 'some_file.txt', unit = "MB")

}

Run the code above in your browser using DataLab