简体   繁体   English

无法编织 R markdown

[英]Unable to knit R markdown

The following error is shown when I try to knit my r markdown baring in mind all code runs successfully otherwise.当我尝试编织我的 r markdown 时会显示以下错误,请记住所有代码否则会成功运行。

Error in as.ts(x) : object 'Trainingdatar2000_m' not found
Calls: <Anonymous> ... withVisible -> eval -> eval -> acf -> na.action -> as.ts
In addition: Warning messages:
1: In has_crop_tools() : 
Tool(s) not installed or not in PATH: pdfcrop, ghostcript
-> As a result, figure cropping will be disabled.
2: In has_crop_tools() : 
Tool(s) not installed or not in PATH: pdfcrop, ghostcript
-> As a result, figure cropping will be disabled.
Execution halted```

R Markdown evaluates in its own clean session. R Markdown 在其自己的干净 session 中进行评估。 Your notebook needs to generate all datasets needed, and will not share objects in the parent session.您的笔记本需要生成所需的所有数据集,并且不会共享父 session 中的对象。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM