I have a problem with an internal r-package that we are using in the organization
I am using the function
r shell() to move files by calling
shell("cp ./data/file.rds ../other_dir/")
We are all stuck in Windows but by using Rstudio, installing git this command is correctly executed on almost all computers in the organisation.
However, for one colleague the command does not work as the
shell-function calls the internal windows command promt.
By setting the terminal Environment to Git Bash in Rstudio we have forced the Terminal work with Git Bash but this does not solve the problem with
shell()using the windows command promt.
shell("ls") 'ls' is not recognized as an internal or external command, operable program or batch file.