disk_free | R Documentation |
Report on File System Disk Usage
disk_free(mounts = NULL, local = FALSE)
mounts |
A character vector of disks (mount points) to query.
If |
local |
If |
This function queries df -P
(POSIX output format) on the system.
A data.frame (tibble) where each row corresponds to a unique disk.
## All disks
df <- disk_free()
print(df)
## All local disks
df <- disk_free(local = TRUE)
print(df)
## /tmp
df <- disk_free(c("/tmp"))
print(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.