Sidebar user interface - REditorSupport/vscode-R GitHub Wiki

The sidebar contains a workspace viewer, help pages viewer, and live share controller.

Workspace viewer

The workspace viewer displays the information of the objects in the global environment of the attached R session.

Objects could be viewed (sending View(obj) to the terminal) or removed (sending rm(...) to the terminal).

The following option could be used to show to the second level of nested structures so that the list elements or data frame columns could be shown in the workspace viewer.

options(vsc.str.max.level = 2)

Help pages viewer

The help pages viewer lists several options to work with help pages, topics, and packages.

Package management

In the help pages viewer, one can also install and remove packages. In the viewer, pressing any key will trigger the search mode so that one can easily find a package by name.