here's another hint to a very simple, but potentially powerful feature that #RKWard has for quite a while (available in current stable releases): in the bottom right menu, you can restart the #R session without restarting the whole application. this will remove all objects from your workspace and unload all packages, while leaving all editor tabs etc. untouched.

do the final run of your scripts in a vanilla environment. also especially helpful for #rstats package development.