Learn R Programming

Rnightlights (version 0.2.4)

removeDataPath: Deletes a root data path all sub-directories

Description

Deletes a root data path and all sub-directories. It can be the current directory or a previously used data path. It will only delete if it has the default folder structure of a root data path.

Usage

removeDataPath(dataPath = file.path(getNlDataPath(), ".Rnightlights"),
  confirm = FALSE)

Arguments

dataPath

character The path to the root folder to be deleted

confirm

logical Used when in non-interactive mode. If missing or FALSE the operation will be aborted.

Value

None

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  Rnightlights:::removeDataPath(getNlDataPath())
  
# }
# NOT RUN {
    
# }

Run the code above in your browser using DataLab