# create directory called 'data'
dir.create("data")
# create subdirectory raw in the data directory
dir.create("data/raw")
# create subdirectory processed in the data directory
dir.create("data/processed")
# list the files and directories
list.files(recursive = TRUE, include.dirs = TRUE)
# [1] "data" "data/raw" "data/processed" "my_awesome_project.Rproj"