and knitr will be able to capture the output of system(). Remember it is a hack. It basically replaced system in the global environment, so if you want the real system, you have to add the qualifier base::.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.