CLNR {MIfuns}R Documentation

Delete files and directories

Description

CLNR deletes files and directories and logs what was deleted to a text file in the ProjectDir.

Usage

CLNR(Dir, ProjectDir, note = "Files removed", test = TRUE)

Arguments

Dir Complete path of directory to be deleted. This directory and all files and sub-directories will be deleted. Example: Dir="/Dir/to/be/Removed"
ProjectDir System path to the directory containing the NONMEM control (*.ctl) streams.
note character vector (defaults to "Files removed") for user text to describe why something was deleted. Example: note=c("Files removed ")
test logical (defaults to "TRUE") to determine if you want to actually delete the files or just see what files would be deleted if "test=F". To delete directory, files, and sub-directories use test=F

Author(s)

Developed by Metrum Institute (Bill Knebel, Tim Bergsma, and others).

References

MIfuns package available from Metrum Institute website (http://metruminstitute.org/).


[Package MIfuns version 3.2.9 Index]