Hello everybody,
at the moment I am trying to set up a ssh-tunnel on windows 10 and for convenience I wanted to start it from within R/r-studio with the "shell" or "system" command from the base-package. From a plain command shell (cmd.exe) the ssh tunnel is working perfektly as well as from RGUI. Only when I try to run the R-script from inside r-studio, the cmd-shell flashes up and closes immediately and the ssh command was not executed. I am using openssh from the windows/system32 folder. Maybe helpful: if I install openssh inside the my user-folder (for instance by using scoop [c.f. hhtps://scoop.sh]) everything is working fine too! Unfortunately I am working together with some other people and I cannot urge them to install an exta version of openssh inside their user-folder.
So it somehow seems to be an issue of access privileges for r-studio? Has anyone experienced similar problems or an idea to go on?
Thank you very much!
KR, Alex