Skip to content

R session not attached after run command create terminal and restart vscode  #393

@liutiming

Description

@liutiming

Describe the bug
R session not attached after run command create terminal and restart vscode

To Reproduce
Steps to reproduce the behavior:

  1. Connect to a cluster via SSH -
  2. Configure setting turn on session watcher
  3. Restart VSCode
  4. Create terminal command
  5. still shows R: (not attached)
  6. Click on the R: (not attached) will run .vsc.attach() but nothing happens.

Do you want to fix by self? (I hope your help!)

Yes / No

Undecided as I am not sure what I can do

Expected behavior
R session attached and I can use functions like View(). Also, I hope that .vsc.attach() can work in a self-created R terminal. Right now my workflow is to use bjobs to open an interactive bash session and then run R so that I have the RAM that I need for large data analysis.

Screenshots
image

Environment (please complete the following information):

  • OS: Ubuntu 16.04 (server). PC: Windows 10
  • VSCode Version: 1.47.3
  • R Version: 3.6.1
  • vscode-R version: 1.4.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions