I run a system command with spaces in directory name as followed:
command=paste(shQuote(\"java -jar C:/DIR A/DF.jar -t\"), t1, t2)
I tried
Here is the solution
command=paste('java -jar "C:/DIR A/DF.jar" -t', t1, t2)
use " only for the dir name and the outside with '