The intention of the sanitizr package is to remove all objects from the global workspace, detach all previously attached environments on the search path as well unload all recently loaded namespaces and detach all loaded packages. The package aims to recreate the state the workspace was in when it was initially loaded (i.e. all items that were present before it was loaded remain where they are).
cleanWorkspace()
Need to fill in other ways to use it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.