CreateDirsIfNotThere(dir.names)
TRUE
FALSE
setwd(tempdir()) CreateDirsIfNotThere(c("mydir", "yourdir")) RemoveDirs(c("mydir", "yourdir"))
Run the code above in your browser using DataCamp Workspace