usethis::edit_r_profile() doesn't launch .Rprofile #4415
-
typing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hmmmm, I can't reproduce this problem as if (interactive() && Sys.getenv("RSTUDIO") == "" && Sys.getenv("POSITRON") == "") {
## code you use for better terminal behavior for R in VS Code
} |
Beta Was this translation helpful? Give feedback.
Hmmmm, I can't reproduce this problem as
usethis::edit_r_profile()
works for me as expected. It looks like you are using or have in the past used the VSCode-R extension. That extension is not compatible with Positron, as we outline here. Can you check if that extension is installed, or if you have code somewhere that may be calling that extension? Double check that any code you have in your.Rprofile
that is designed to support that extension is updated so that it does not run in Positron: