You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here I wrote that on Windows Sys.getenv("HOMEPATH") returns C:\Users\[USERNAME], but when I tried it just now it returned \\Users\\[USERNAME] (without the drive letter). So, when trying to use the session watcher on Windows, I get this error:
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file '\Users\[USERNAME]/.vscode-R/init.R': No such file or directory
Sorry about this, I should have verified that it definitely worked.
Here I wrote that on Windows
Sys.getenv("HOMEPATH")
returnsC:\Users\[USERNAME]
, but when I tried it just now it returned\\Users\\[USERNAME]
(without the drive letter). So, when trying to use the session watcher on Windows, I get this error:Sorry about this, I should have verified that it definitely worked.
Based on https://cran.r-project.org/bin/windows/base/rw-FAQ.html#What-are-HOME-and-working-directories_003f it seems that it should be:
The text was updated successfully, but these errors were encountered: