0

I'm trying to call command line from R. A simple example of this is:

system(paste("cd",getwd() ))

However, I get the following error message:

Warning message: running command 'cd >>C:/Users/ had status 127

What can I do to solve this error?

TwanK
  • 19
  • 6
  • https://stackoverflow.com/questions/33646816/r-system-functions-always-returns-error-127 – denrou Nov 30 '17 at 13:05
  • 3
    Possible duplicate of [R system functions always returns error 127](https://stackoverflow.com/questions/33646816/r-system-functions-always-returns-error-127) – moodymudskipper Nov 30 '17 at 13:22

0 Answers0