title: Calling command line from R - error 127
body: <p>I'm trying to call command line from R. A simple example of this is:</p>
  
  <blockquote>
    <p>system(paste("cd",getwd() ))</p>
  </blockquote>
  
  <p>However, I get the following error message:</p>
  
  <blockquote>
    <blockquote>
      <p>Warning message: running command 'cd >>C:/Users/ had status 127 </p>
    </blockquote>
  </blockquote>
  
  <p>What can I do to solve this error?</p>