I need to call a Windows Terminal inside a R script, I asked a similar question before, but using a Linux Terminal: How to call linux terminal code from R script
I am using cdo (Climate Data Operators) in Linux, inside a R code
system(paste0("cd ~/Data/; cdo -f nc copy file1.grb2 file2.nc;"))
The answer in Linux is so simple, and it did the trick perfect. How can I do this in Windows?