[英]How to manually initialize R terminal in vscode?
My current scene is this:我现在的场景是这样的:
I use vscode to log in to the login node
and then use R: Create R terminal
to generates an R terminal running on the login node
, but the login node
has poor performance.我使用vscode
login node
,然后使用R: Create R terminal
生成R终端在login node
login node
运行性能较差。 So I usually use vscode to log in to the login node
, and then ssh to the computing node
which cannot log in directly from the local.所以我一般是用vscode
login node
,然后ssh到本地无法直接登录的computing node
。
When I ssh to the computing node
, the R terminal generated by using R: Create R terminal
again is still on the login node
, not on the computing node
. When I ssh to the
computing node
, the R terminal generated by using R: Create R terminal
again is still on the login node
, not on the computing node
. So if I want to use R in the computing node
, I can only manually type R
or radian
, but then I can't link it with current vscode, and I can't use vscode to show R plot
. So if I want to use R in the
computing node
, I can only manually type R
or radian
, but then I can't link it with current vscode, and I can't use vscode to show R plot
.
I've tried running all the R scripts in the R extension in vscode, but none of them enable manual initialization of the R terminal.我已经尝试在 vscode 的 R 扩展中运行所有 R 脚本,但是它们都没有启用 R 终端的手动初始化。
Does anyone know how to manually initialize the R terminal, please tell me the principle, or teach me how to manually initialize, looking forward to the help of the big guys.有谁知道如何手动初始化R终端,请告诉我原理,或者教我如何手动初始化,期待大佬的帮助。
Try enabling the setting R: Always Use Active Terminal
.尝试启用设置
R: Always Use Active Terminal
。 Don't use the command R: Create R terminal
.不要使用命令
R: Create R terminal
。 Commands should now use your computing node instead of your login node.命令现在应该使用您的计算节点而不是您的登录节点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.