Skip to content

How to make the View() and plot() command work like vscode-R? #146

Description

@xiajunwen1007

Describe the bug
When I debug a file and use the command View() or plot(), a new program window, like XQuartz, will pop up. Is there a way to open a new window inside vscode like VSCODE-R.

To Reproduce

my_function <- function(){
    df <- cars
    print('inside function') # <-- breakpoint here. Then run `View(df)` in debug console.
}

my_function()

Set a breakpoint at print(), then type View(df).

Screenshot
iShot2021-07-16 09 59 09

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions