No access to Linux shell in an mrsdeploy remote session

68 Views Asked by At

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?

1

There are 1 best solutions below

1
EdG On BEST ANSWER

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)