finalizeSession: Function to call for finalizing the R session
Description
Function to call for finalizing the R session.  When called, all registered "onSessionExit" hooks
  (functions) are called.  To define such hooks, use the
  onSessionExit() function.
  This method should not be used by the user.Usage
## S3 method for class 'default':
finalizeSession(...)
Value
- Returns (invisibly) the hooks successfully called.