在Rmarkdown中将rmd文件编织为pdf时出现以下错误
创建的输出:Artist
tools :: file_path_as_absolute(output_file)中的错误:文件 'C:/ Users / bkamangira / Documents / Academics / PhD 资源/ MMED /狂犬病消除/写作/Report_V7.pdf'不存在
此外:警告消息:
Quote
答案 0 :(得分:0)
我意识到我的错误是我没有安装tex软件。我通过运行// if #documentFile has a required attribute and is empty, the :invalid styles
// are stilled applied after calling setCustomValidity with an empty string
$('#documentFile')[0].setCustomValidity('');
// adding a novalidate dynamically and calling checkValidity() still returns
// false if the field has the required attribute and is empty
$('#documentFile').attr('novalidate', 'novalidate');
$('#documentFile')[0].checkValidity(''); // returns false
命令和install.package(tinytex)
函数以安装用于r-markdown的tex软件来实现这一目的