我是Rmarkdown的新手,正在尝试学习如何编写代码。当我运行示例代码并进行编织时,它给了我以下错误:
*
Error running filter C:/Users/bbalamdari/Documents/R/win-library/3.6/rmarkdown/rmd/lua/pagebreak.lua:
...uments/R/win-library/3.6/rmarkdown/rmd/lua/pagebreak.lua:18: module 'pandoc.utils' not found:
no field package.preload['pandoc.utils']
no file 'C:\PROGRA~2\Pandoc\lua\pandoc\utils.lua'
no file 'C:\PROGRA~2\Pandoc\lua\pandoc\utils\init.lua'
no file 'C:\PROGRA~2\Pandoc\pandoc\utils.lua'
no file 'C:\PROGRA~2\Pandoc\pandoc\utils\init.lua'
no file 'C:\PROGRA~2\Pandoc\..\share\lua\5.3\pandoc\utils.lua'
no file 'C:\PROGRA~2\Pandoc\..\share\lua\5.3\pandoc\utils\init.lua'
no file '.\pandoc\utils.lua'
no file '.\pandoc\utils\init.lua'
no file 'C:\PROGRA~2\Pandoc\pandoc\utils.dll'
no file 'C:\PROGRA~2\Pandoc\..\lib\lua\5.3\pandoc\utils.dll'
no file 'C:\PROGRA~2\Pandoc\loadall.dll'
no file '.\pandoc\utils.dll'
no file 'C:\PROGRA~2\Pandoc\pandoc.dll'
no file 'C:\PROGRA~2\Pandoc\..\lib\lua\5.3\pandoc.dll'
no file 'C:\PROGRA~2\Pandoc\loadall.dll'
no file '.\pandoc.dll'
Error: pandoc document conversion failed with error 83
Execution halted
*
我以为也许我应该安装软件包“ Pandoc.utils”,但是一旦我在R中调用该软件包,就会出现此错误:
软件包“ pandoc.utils”不可用(对于R版本3.6.0)
这是因为我具有R的最新版本,并且无法安装较旧版本的pandoc?有人知道发生了什么吗?