Ctrl + Shift + F10
to restart your R session
Without restarting, run the following code directly to regenerate temporary files (recommended)
dir.create(tempdir())