Learn R Programming

sdmpredictors (version 0.2.15)

decompress_file: Decompress a file

Description

The internal method decompress_file decompresses a file and returns the path to the result.

Usage

decompress_file(filename, outputdir, overwrite=FALSE, remove=TRUE)

Value

The path of the decompressed file.

Arguments

filename

character. Path to the file that should be decompressed.

outputdir

character. Path to the output directory.

overwrite

logical. If TRUE and the output file already exists then the file is silently overwritten, otherwise an exception is thrown.

remove

logical. If TRUE then the input file is removed afterwards, otherwise not.

See Also

compress_file