Description Usage Arguments Value Author(s) Examples
Function for getting size of any files.
1 |
file |
Character vector of file(s) with path. |
units |
Character, default "B" bytes or alternative: "KB", "MB", "GB" or "TB" for kilo Bytes, mega Bytes, giga Bytes and tera Bytes. |
numeric Vector with the same length of available input files in the unit specified by argument. Directories are excluded!
Matteo Mattiuzzi
1 2 3 4 | ## Not run:
file.size(list.files("./"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.