cleanWD {PBSmodelling} | R Documentation |
Launch a GUI for File Deletion
Description
Launches a new window which contains an interface for deleting specified files from the working directory.
Usage
cleanWD(files)
Arguments
files |
character vector of file names used for clean options. |
Details
All arguments may contain wildcard characters ("*"
to match 0 or
more characters, "?"
to match any single character).
The GUI includes the following:
1 | Check boxes for each suffix in the suffix argument and |
for each file name in the files argument. |
|
2 | Buttons marked "Select All" and "Select None" for |
selecting and clearing all the check boxes, respectively. | |
3 | A "Clean" button that deletes files in the working directory |
matching file name expansion of files chosen with a check box. |
Author(s)
Rowan Haigh, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
Examples
## Not run:
local(envir=.PBSmodEnv,expr={
cleanWD(c("*.bak","*.tmp","junk*"))
})
## End(Not run)
[Package PBSmodelling version 2.69.3 Index]