Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting R terminal with Python extension loaded causes problems #370

Closed
hongooi73 opened this issue Jun 25, 2020 · 1 comment
Closed

Starting R terminal with Python extension loaded causes problems #370

hongooi73 opened this issue Jun 25, 2020 · 1 comment
Labels

Comments

@hongooi73
Copy link

Describe the bug

I'm not sure whether this is a bug with the R or Python extension, or both.

When I run the "Create R terminal" command, and the Python extension is active, I end up with extraneous text in the terminal pane.

To Reproduce
Steps to reproduce the behavior:

  1. Have this extension and the MS Python extension installed
  2. Have a folder with both .R and .py files present
  3. Open a .py file (this loads vscode-python)
  4. Open a .R file (this loads vscode-R)
  5. With the .R file active, run "Create R terminal"

This results in the following text being sent to the terminal (it's used by the Python extension)

R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Platform: x86_64-w64-mingw32 (64-bit)
r$> C:/Users/hongo/Miniconda3/Scripts/activate
Error: unexpected '/' in "C:/"
r$> conda activate base
Error: unexpected symbol in "conda activate"
r$>

Environment (please complete the following information):

  • OS: Windows 10 2004
  • VSCode Version: 1.46.1
  • R Version: 4.0.2
  • vscode-R version: 1.4.2

Additional context

  • vscode-python version: 2020.6.90262
  • using Radian as the rterm
@hongooi73 hongooi73 added the bug label Jun 25, 2020
@hongooi73 hongooi73 changed the title Starting R terminal when Python code is in the folder causes problems Starting R terminal with Python extension loaded causes problems Jun 25, 2020
@andycraig
Copy link
Collaborator

Hi @hongooi73, this is caused by the Python extension. I created an issue for it: microsoft/vscode-python#11963

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants