
Last chance! 50% off unlimited learning
Sale ends in
delete
- Deletes files and directories. folder
- Create a folder/directory.
delete(file = NULL)
folder(..., folder.name = NULL)
folder.name
are NULL creates a
file in the working directory with the creation date and
time stamp.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(cat, dog)
# lapply(c("cat", "dog"), delete)
# ## End(Not run)
Run the code above in your browser using DataLab