vscode-R
vscode-R copied to clipboard
How to link result from terminal of 'R interactive' and terminal "zsh (already run radian)"
Hi all.
This is what I am wanting to do. I ran "chunk code" and it ran on Terminal of 'R ibteactive' however I want my results to sync to terminal "zsh".
Can someone help me?
Thank you so much
If you need to send code to "active terminal" instead of the R terminal created by vscode-R, then you need to enable r.alwaysUseActiveTerminal
in vscode settings so that your code in active editor will be sent to active terminal.
If you need to send code to "active terminal" instead of the R terminal created by vscode-R, then you need to enable
r.alwaysUseActiveTerminal
in vscode settings so that your code in active editor will be sent to active terminal.
Thank you so much.
I just did a few operations but for some reason this message is showing and I can't find the Terminal Dialog. Can you help me?
Would you like to post your r.*
entries in vscode settings?
Hi renkun-ken I would like sent to you my vscode setting
{ "editor.minimap.enabled": false, "[python]": { "editor.formatOnType": true }, "github.copilot.enable": { "": true, "plaintext": true, "markdown": false, "scminput": false, "quarto": true }, "genieai.enableConversationHistory": true, "genieai.personalizedName": "Geni", "CodeGPT.maxTokens": 2000, "CodeGPT.temperature": 0.5, "security.workspace.trust.untrustedFiles": "open", "github.copilot.advanced": (), "r.alwaysUseActiveTerminal": true, "editor.inlineSuggest.enabled": true, "git.openRepositoryInParentFolders": "never", "terminal.integrated.defaultProfile.osx": "zsh", "r.plot.defaults.colorTheme": "vscode", "workbench.iconTheme": "vscode-icons", "jupyter.askForKernelRestart": false, "workbench.colorTheme": "Monokai Dimmed", "r.rterm.mac": "/Users/rchai/opt/anaconda3/bin/radian", "files.associations": { ".rmd": "markdown" } }
pls, Help me. Thank you so much
Just to say that I am not able to replicate this issue at all sorry :(
If I set my settings to (and disable all my custom keyboard shortcuts):
"r.rterm.linux": "/Users/rchai/opt/anaconda3/bin/radian",
"r.alwaysUseActiveTerminal": true,
Then all my R code chunks are sent to the current active terminal no matter which button / method I use to submit the R code. If no terminal exists then I just get a "No active terminal" error message rather than it trying to launch the radian console.
I would recommend commenting out all your settings, keyboard shortcuts & disabling any other extensions to see it the error still persists. If it goes away then try re-introducing stuff until it comes back.