I have a one column data frame. The length varies between 60,000 and 500,000 rows.

I would like to split the data frame into smaller data frames with 45,000 rows plus an additional data frame with any remaining rows. For example, if my starting data frame has 90,100 rows, the result should be 3 data frames - 2 with 45000 rows and 1 with 100 rows.

I would like to be able to subsequently process each of the resulting data frames in a for loop.

Is there a way to do this in R?