MikhailArkhipov / vscode-r

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

VSCode creating zombie directory #23

Closed hongooi73 closed 5 years ago

hongooi73 commented 5 years ago

I've come across a weird problem. I have a project, where at one stage I created a directory under c:\users\hongooi\appdata. Then I deleted that directory and forgot about it. Now, I've just discovered that each time VSCode opens that project (or "folder" as it calls it), it recreates that directory.

Would you know what's causing this, and how I can get it to stop?

Some more detail: the code that created the dir was in the .onload function for an R package, so it got called automatically each time I loaded the package. Later I decided I didn't really need that dir, so I removed the code and deleted the dir. But VSCode refuses to accept that it's gone.

I've confirmed that it's not my code that's doing it, by running rgui.exe and loading the package there. Also, VSC creates the directory before I've even opened the R terminal.