简体   繁体   中英

No access to Linux shell in an mrsdeploy remote session

I've logged into a Microsoft R Server using mrsdeploy::remoteLogin()

Next I start a remote session with mrsdeploy::remoteCommandLine()

If I try to use system("pwd") I get no response.

I'm guessing access to the shell is blocked - does anyone know where this is controlled?

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.

For example system("pwd", intern = TRUE)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM