system("C:\\pocketsphinx_continuous -infile C:\\temp_speech.wav > c:\\capture.txt")
results into the error
ERROR: "cmd_ln.c", line 604: Unknown argument name '>'
But if i paste the code directly in cmd all goes fine. Thanks in advance. I am using windows8 64bit and R v 3.2.1.
This is because everything after
C:\\pocketsphinx_continuous
is interpreted as arguments. Your command is not run incmd
. See the help page ofsystem
:So, use
shell