Found an interesting solution to a similar question on StackOverflow, which uses the pdftools package, and stores the most frequent space values in the pdf pages as a vector to slice a single page (I'm not describing it as well as the author, and it'll be easier to see with the code):
If you're not familiar with pdftools, there's a nice intro vignette here: