powered by
Function for getting size of any files.
fileSize(file, units = "B")
character vector of file(s) with path.
character
character, defaults to "B". Currently available options are "B", "KB", "MB", "GB" or "TB" for bites, kilo-, mega-, giga- and terabytes.
numeric vector of the same length as file (in units). Note that directories are excluded.
numeric
file
units
# NOT RUN { fileSize(list.files("./")) # } # NOT RUN { # }
Run the code above in your browser using DataLab