Rstudio delete temporary files

What is the safest way to delete temporary files? -

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: 2021.09.01
  • OS Version: Linux
  • R Version: 4.1.2

I am using Rstudio for developing a package and every new function is tested with library testthat.

I noticed that in the .Rproj.user/C37A78A1/ctx directory there are 255 subdirectorys, each containing 10 items. These files use a lot of diskspace.

What is the best way to perform garbage collection on the files that are created by Rstudio. Should I delete files manually or is there an automated way to do this?

Ben

2 Likes

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.