R Studio Running Very Slowly

Hey there,

I have a markdown script in R studio, it is doing a bunch of transformations on a data frame, the rmd file is on onedrive.

When i run the script it runs fine. Then when it's done and i try to check the results, I will run a very basic line like sum(df$value) and it will run quickly, then i'll try run it again and it will take forever, opening task manager R studio is going from 15% of memory up to 100% and then back down and back up, eventually it stops and i can run code for 20 seconds or so, before it does this again. It's just sitting there with something running in the background taking up all the computers resources but i can't figure out what. Any help appreciated.

Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.