CLNR {MIfuns} | R Documentation |
CLNR deletes files and directories and logs what was deleted
to a text file in the ProjectDir
.
CLNR(Dir, ProjectDir, note = "Files removed", test = TRUE)
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 |
Developed by Metrum Institute (Bill Knebel, Tim Bergsma, and others).
MIfuns package available from Metrum Institute website (http://metruminstitute.org/
).