In order to communicate the functions in an interface, it is often unavoidable to create global variables. This function cleans the global variables that are mere intermediate results of the prodecures.It is used internally
cleanEnvir(envir = KTSEnv)
The environment where the intermediate objects are to be removed.It defaults to KTSEnv.