bytes_converter | R Documentation |
bytes converter of a text file ( KB, MB or GB )
bytes_converter(input_path_file = NULL, unit = "MB")
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 |
a number
## Not run:
library(textTinyR)
bc = bytes_converter(input_path_file = 'some_file.txt', unit = "MB")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.