Rstudio Cloud keeps crashing

I am using an R studio cloud, the access is provided by my uniersity. I am working with several datasets for a project, but when I try to knit my R file to an html, my server crashes, with an error message of "The previous R session was abnormally terminated due to an unexpected crash. You may have lost workspace data as a result of this crash."

How do I fix this error?

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: