提问人:Ekpete Kenneth 提问时间:11/17/2023 最后编辑:zephrylEkpete Kenneth 更新时间:11/17/2023 访问量:14
Rmarkdown 编织失败,出现“无法启动 png() 设备”错误
Rmarkdown knitting fails with "unable to start png() device" error
问:
我还有其他我编织的情节,但我在这个特定的情节中遇到了错误。我将打印格式从 png 更改为 pdf,但它仍然给我同样的问题。
processing file: BellaBeat_data_analysis_Report.Rmd
|..........| 95% [Question 2. How do daily step counts correlate with daily calories burned?]
Quitting from lines 410-447 [Question 2. How do daily step counts correlate with daily calories burned?] (BellaBeat_data_analysis_Report.Rmd)
Error in `png()`:
! unable to start png() device
Backtrace:
1. rmarkdown::render(...)
2. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
3. knitr:::process_file(text, output)
8. knitr:::process_group.block(group)
9. knitr:::call_block(x)
...
18. base::mapply(...)
19. knitr (local) `<fn>`(...)
22. knitr:::plot2dev(...)
24. knitr (local) `<fn>`(...)
25. grDevices::png(..., res = dpi, units = "in")
Warning messages:
1: In png(..., res = dpi, units = "in") :
unable to open file 'BellaBeat_data_analysis_Report_files/figure-html/Question 2. How do daily step counts correlate with daily calories burned?-1.png' for writing
2: In png(..., res = dpi, units = "in") : opening device failed
Execution halted
答: 暂无答案
下一个:在 R 中设置值阈值
评论