Closing a setup removes the setup from the Report Explorer and from memory.
In the Report Explorer, in the Outline pane, select the setup root node.
In Report Explorer, use one of these approaches:
Click the Delete button.
Select File > Close.
From the context menu of the root node of the setup file, select Close.
You can close a report that you have previously opened. For example, the following code opens a setup and then closes it.
setup('simple-report.rpt'); root = RptgenML.Root; root.closeReport('simple-report');