[英]No access to Linux shell in an mrsdeploy remote session
I've logged into a Microsoft R Server using mrsdeploy::remoteLogin()
我已经使用
mrsdeploy::remoteLogin()
登录到Microsoft R Server
Next I start a remote session with mrsdeploy::remoteCommandLine()
接下来,我使用
mrsdeploy::remoteCommandLine()
启动远程会话。
If I try to use system("pwd")
I get no response. 如果我尝试使用
system("pwd")
不会得到任何响应。
I'm guessing access to the shell is blocked - does anyone know where this is controlled? 我猜想对shell的访问已被阻止-有人知道这是在哪里控制的吗?
We found the answer to this. 我们找到了答案。
The remote session does have access to the shell. 远程会话确实有权访问该外壳。 You need to use
intern = TRUE
to see the result. 您需要使用
intern = TRUE
才能查看结果。
For example system("pwd", intern = TRUE)
例如
system("pwd", intern = TRUE)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.