You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An Rmd file with only one chunk and where that chunk uses engine='dot' fails because the temporary directory for output images doesn't get created (or so it seems).
FAILS
---
output: pdf_document
---
This relies upon Graphviz already being installed and launchable from the CLI
```{r exdot, engine='dot'}
digraph test {
main -> "subproject #3" -> c;
a -> z -> d -> c;
c -> a;
c -> z;
f;
b -> d;
c -> d;
d -> end;
{rank=same; a z d}
}
```
Error Output
processing file: Using_Graphviz.Rmd
running: "dot" ".\codeee454e538c9" -Tpdf -o"./Using_Graphviz_files/figure-latex/exdot-1.pdf"
Error: Could not open "./Using_Graphviz_files/figure-latex/exdot-1.pdf" for writing : No such file or directory
Quitting from lines 7-19 (Using_Graphviz.Rmd)
Error in (knit_engines$get(options$engine))(options) :
failed to compile content
Calls: <Anonymous> ... process_group.block -> call_block -> block_exec -> in_dir -> <Anonymous>
In addition: Warning message:
running command '"dot" ".\codeee454e538c9" -Tpdf -o"./Using_Graphviz_files/figure-latex/exdot-1.pdf"' had status 1
Execution halted
SUCCESS
---
output: pdf_document
---
This relies upon Graphviz already being installed and launchable from the CLI
```{r}
plot(runif(10))
```
```{r exdot, engine='dot'}
digraph test {
main -> "subproject #3" -> c;
a -> z -> d -> c;
c -> a;
c -> z;
f;
b -> d;
c -> d;
d -> end;
{rank=same; a z d}
}
```
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
An Rmd file with only one chunk and where that chunk uses engine='dot' fails because the temporary directory for output images doesn't get created (or so it seems).
FAILS
Error Output
SUCCESS
System Config
The text was updated successfully, but these errors were encountered: