I'm trying to launch my R script via ubuntu bash with:
shell(paste ('bash -c', shQuote(my command string))
My command string contains two different path in R format: E:\\path\\path to\\path
, this path must be compatible with bash path format: /mnt/e/path/path to/path
.
But bash refuse this, removing spaces from path.
What's the easiest way to solve this problem?