Vscode-r: commands not found after 1.0.7 update

Created on 15 Apr 2019  Â·  10Comments  Â·  Source: Ikuyadeu/vscode-R

Describe the bug
Commands failed to run after updating to 1.0.7. I tried reinstall the extension (1.0.7), reinstall vs-code, both did not fix the problem.
Currently tested with:

command 'r.runSelection' not found
command 'r.runSource' not found

To Reproduce
Steps to reproduce the behavior:

  1. File -> Open Folder... -> Open a folder containing R source files.
  2. ctrl+enter

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

Reinstalling the extension of version 1.0.6 fixed the problem

(Sorry I don't know how to fix it :cry: )

Expected behavior
Commands should be executed.

Environment (please complete the following information):

  • OS: Fedora 29 (Linux)
  • VSCode Version: 1.33.1
  • R Version: 3.5.3, Platform: x86_64-redhat-linux-gnu (64-bit)
bug

Most helpful comment

Sorry for good users, thank you for early inform.
This problem occurred cause package.json update.

I fixed and published the new version now.
Please try again that.

All 10 comments

I'm having the same problem on macOS 10.12.6 (otherwise, same configuration).

Same issue in MacOs Mojave 10.14.2 after updating to 1.0.7

To downgrade the extension to a previous version right click on the extension and then "install another version...":
https://github.com/Microsoft/vscode/issues/12764

Same issue in Windows 10 with 1.0.7.

Downgrade to 1.0.6 resolves

Sorry for good users, thank you for early inform.
This problem occurred cause package.json update.

I fixed and published the new version now.
Please try again that.

@Ikuyadeu Upgrading to 1.0.8 resolved my issues. Thanks for the quick response!

@Ikuyadeu I confirmed that the issue was fixed after upgrading to 1.0.8. Thanks for the good work!

@beansrowning @yh-luo I am glad to hear that, please happy coding

I don't know I'm felling totally frustrated and helpless. Recently I installed your latest version,did all the things as asked to set up the directory but cant run it .Those two dreadful errors always pop up.
command 'r.runSelection' not found
command 'r.runSource' not found
Please help me. Tell me what shall I do
Screenshot (1)
Screenshot (2)
Screenshot (3)
Screenshot (4)

Hi @deveops1996, try:
File -> Open Folder...
Select the folder ‘Text Mining’ and click Open.
Then try the run selection or run source commands again.

Hi @deveops1996, try:
File -> Open Folder...
Select the folder ‘Text Mining’ and click Open.
Then try the run selection or run source commands again.

Yes I did and and it seems there has to be a workspace for the R interactive Terminal to open and run. Now its working after I have set the workspace folder

Was this page helpful?
0 / 5 - 0 ratings

Related issues

renkun-ken picture renkun-ken  Â·  3Comments

MaTo04 picture MaTo04  Â·  5Comments

maxheld83 picture maxheld83  Â·  4Comments

michaelHL picture michaelHL  Â·  5Comments

nathaneastwood picture nathaneastwood  Â·  6Comments