我想在我的电脑上使用R安装bibutils。使用unix / ubuntu,我可以使用" sudo apt-get install bibutils"这很棒。我尝试使用R shell来做同样的事情:
shell('sudo apt-get install bibutils')
并出现以下错误:
'sudo' is not recognized as an internal or external command,
operable program or batch file.
Warning messages:
1: running command 'C:\WINDOWS\system32\cmd.exe /c sudo apt-get install
bibutils' had status 1
2: In shell("sudo apt-get install bibutils") :
'sudo apt-get install bibutils' execution failed with error code 1
有更好的方法吗?感谢。