Rstudio Cloud keeps crashing

That is a generic error message, it doesn't provide any information about the cause of the crash. The best I can do with that is speculate you are running out of RAM.

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: