I have a bunch of data frames whose names are "yob.14", ..., "yob.60", based on year of birth. How do I delete them without having to rm()
each one separately? I tried
rm(paste0("yob.",i))
but that got me an error message:
... must contain names or character strings"