Learn R Programming

dataversionr (version 0.9.0)

remove_prefix: Remove prefix

Description

Remove all the contents of a subdirectory or SubTreeFileSystem

Usage

remove_prefix(destination, prompt = TRUE)

Value

TRUE

Arguments

destination

a local directory path or an arrow SubTreeFileSystem

prompt

should we ask for user confirmation?

Examples

Run this code
temp_dir <- tempfile()
make_prefix(temp_dir)

remove_prefix(temp_dir, prompt = FALSE)

Run the code above in your browser using DataLab