R/LoadingSaving.R
getAndromedaTempDiskSpace.Rd
Attempts to determine how much disk space is still available in the Andromeda temp folder.
This function uses Java, so will only work if the rJava
package is installed.
By default the Andromeda temp folder is located in the system temp space, but the location
can be altered using options(andromedaTempFolder = "c:/andromedaTemp")
, where
"c:/andromedaTemp"
is the folder to create the Andromeda objects in.
getAndromedaTempDiskSpace(andromeda = NULL)
The number of bytes of available disk space in the Andromeda temp folder. Returns NA
if unable to determine the amount of available disk space, for example because rJava
is not installed, or because the user doesn't have the rights to query the available disk space.
# Get the number of available gigabytes:
getAndromedaTempDiskSpace() / 1024^3
#> [1] 286.1406
#123.456