I am using VSCode for R programming for quite some time now. Recently, I decided to switch the vanilla terminal to radian. The highlighting and intellisense all work perfect. However, I am sometimes encountering a strange bug when sending code to the console.
So for instance sometimes when I highlight some line in the editor and hit ctrl+enter or run an entire .rmd chunk, the code does not get executed. The code does get copied to the console, but it's somehow buggy. Often, the console cursor hovers at some wrong bracket and one would have to move the cursor to the end in order to run the code.
Sometimes it's fully buggy displaying:
at the end of the console code.
Any ideas as to why this may be the case? It's pretty annoying.
Try adding options(radian.auto_match = FALSE) to your radian profile.
If you don't already have a radian profile, the most straightforward approach way to make one is to create a file called .radian_profile in the working directory. You can check your working directory by running getwd() in radian when it starts up.
In the .radian_profile file you created, paste this line:
options(radian.auto_match = FALSE)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With