MikhailArkhipov / vscode-r

R Tools for VS Code
Other
82 stars 6 forks source link

Error in setwd("~") #24

Closed jokervTv closed 5 years ago

jokervTv commented 5 years ago

Everytime i start the vscode , i receive the error:

Error in setwd("~") : cannot change working directory

Code: -32000 [object Object]

Before i update the vscode to 1.31.1 in windows10, anything is good.

Thanks.

MikhailArkhipov commented 5 years ago

If you run setwd("~") in RGUI what happens?

MikhailArkhipov commented 5 years ago

https://github.com/Microsoft/RTVS/issues/3232, VS had setting for the working directory. VS Code currently does not expose one.

image

jokervTv commented 5 years ago

Sorry sir, I can't see the line.

image

And I reinstall RTVS and R Tools for VS code. The question is still bother me. Maybe there are something wrong on my windows.

I find that RTVS always wrong. The extension is great.

image

Thanks for your reply.