delete | R Documentation |
delete
- Deletes files and directories.
folder
- Create a folder/directory.
delete(file = NULL)
folder(..., folder.name = NULL)
file |
The name of the file in the working directory or the path to the
file to be deleted. If |
folder.name |
A character vector of the name(s) of the folder to be
created. Default |
... |
The name(s) of the folder to be created. If both ... and
|
delete
permanently removes a file/directory.
folder
creates a folder/directory.
unlink
,
file.remove
,
dir.create
## Not run:
(x <- folder("DELETE.ME"))
which(dir() == "DELETE.ME")
delete("DELETE.ME")
which(dir() == "DELETE.ME")
folder("the/next/big/thing", "hello world", "now/is/the/time")
folder(cat, dog)
lapply(c("cat", "dog"), delete)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.