-
Hi, I have several R versions on my system. I just notice that Open R terminal in VSCODE will correctly use R 4.2.1 through radian. At first I did not understand why, but after a few dig and tries into the settings I noticed: R Terminal is controled by config in R extension
but the render button on R Markdown document seems to be controlled by config in R Debugger
Is this expected ? How can I be sure the two are in sync if I am using For now I just deactivated my setting in R Debugger. I passed no path to R, and it seemed to work and take my system default one, which should be the same as in Radian. Just sharing here as a question as I did not found a clear answer to this in the configuration doc. I probably should not have set up RDebugger path anyway, I don't remember why indeed. Hope it helps see if this is a problem, or just a misunderstanding from me reading the documentation. Thanks for all the hard work on this extension ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Both the To make sure the same version of R is used you may need to specify which version of R is used by radian: https://github.com/randy3k/radian#how-to-switch-to-a-different-r-or-specify-the-version-of-r |
Beta Was this translation helpful? Give feedback.
Both the
r.rterm
andr.rpath
settings come from this extension (not R Debugger). Ther.rterm
setting is used to decide what console will be started (e.g., radian), and ther.rpath
setting is used for everything else (e.g., R Markdown, help info).To make sure the same version of R is used you may need to specify which version of R is used by radian: https://github.com/randy3k/radian#how-to-switch-to-a-different-r-or-specify-the-version-of-r