Skip to contents

This function iterates through all tabs in RStudio, closing those that are not already listed in the Tabs vector. It also handles view panes by closing them if they do not have a corresponding document context.

Usage

close_view()