vscode-R
vscode-R copied to clipboard
'r.bracketedPaste: true' didn't work or unexcepted more indentation in terminal
Describe the bug
"r.bracketedPaste": true didn't work, after I write options(radian.auto_match = FALSE) into .radian_profile, it worked, but I got more indentation in the terminal
To Reproduce Steps to reproduce the behavior:
I have set "r.bracketedPaste": true, but it didn't work
After I write options(radian.auto_match = FALSE) into .radian_profile, it worked, but I got more indentation in the terminal
(If applicable) Please attach setting.json
"r.bracketedPaste": true,
"r.rpath.windows": "D:\\Program Files\\R\\R-4.3.3\\bin\\R.exe",
"r.rterm.windows": "D:\\Program files\\Python\\Python312\\Scripts\\radian.exe",
"r.rterm.option": [
"--no-site-file",
],
"r.plot.useHttpgd": true,
Environment:
- OS: [Windows]
- VSCode Version: [1.98.0]
- R Version: [4.3.3]
- vscode-R version: [2.8.4]
- Python version: [3.12.7]
- radian version: [0.6.13]
That's Radian's issue. I am avoiding using Radian when working on Windows. There simply has no better solution to resolve all those issues raised due to Windows.
I am just using Rterm on Windows. Although not ideal, but have gotten used to it. The only thing that frustrates me is the truncation of input after 80 characters, again this is Windows' issue. But I think R4.5 will solve this.
It's weird. It works fine on my old computer, but it has the same problem as yours on my new computer. I have tried the new device radian multiple versions will reproduce this problem.
Environment:
Old PC:
- OS: [Windows 11]
- VSCode Version: [1.98.1]
- R Version: [4.4.0]
- vscode-R version: [2.8.4]
- Python version: [3.12.7]
- radian version: [0.6.12]
New PC:
- OS: [Windows 11]
- VSCode Version: [1.98.1]
- R Version: [4.4.0] & [4.4.3]
- vscode-R version: [2.8.4]
- Python version: [3.13.2]
- radian version: [0.6.13] & [0.6.12]
After a whole afternoon of fighting, I finally solved the problem!
Just add options(radian.auto_match = FALSE) and options(radian.auto_indentation = FALSE) to .radian_profile!
good i solved!!!
It's weird. It works fine on my old computer, but it has the same problem as yours on my new computer. I have tried the new device radian multiple versions will reproduce this problem.
Environment:
Old PC:
- OS: [Windows 11]
- VSCode Version: [1.98.1]
- R Version: [4.4.0]
- vscode-R version: [2.8.4]
- Python version: [3.12.7]
- radian version: [0.6.12]
New PC:
- OS: [Windows 11]
- VSCode Version: [1.98.1]
- R Version: [4.4.0] & [4.4.3]
- vscode-R version: [2.8.4]
- Python version: [3.13.2]
- radian version: [0.6.13] & [0.6.12]
After a whole afternoon of fighting, I finally solved the problem! Just add
options(radian.auto_match = FALSE)andoptions(radian.auto_indentation = FALSE)to .radian_profile!
thanks a lot.. after losing my mind over this issue, this solution finally solved it.
create a new text document in Users > (Name) . In my case its WINx10. then named it .radian_profile add the two lines
options(radian.auto_match = FALSE) options(radian.auto_indentation = FALSE)
and save. restart vs code and voila.
Changing Radian settings is not ideal because it removes some nice features. The issue should be solved by PR #1631