The goal is to get a dataframe with two columns: the first column would be the month and the second column would be the year. I'd like the for loop to take me to two years from now. I left the for loop empty given that I was nowhere near finding the solution.
D <- data.frame(month(Sys.Date()), year(Sys.Date()))
D <- rename(D, Month = month.Sys.Date..., Year = year.Sys.Date...)
for (x in 1:24) {
D1 <- return()
}