Learn R Programming

Rnightlights (version 0.1.2)

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"))

Arguments

dataPath

The path to the root folder to be deleted

Value

None

Examples

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

Run the code above in your browser using DataLab