Closed rkrug closed 4 years ago
@retorquere Now you have an inline preview when you set plantuml.preview = TRUE
Is this on master or on dev?
On master. I merged it from dev.
This is going to sound dumb, but beyond adding plantuml.preview = TRUE
, what should I do? Or where should I see the preview?
You have to run the code block in RStudio. There is a little triangle on the right of the beginning of the code block - clicking it will run the code and the graph will be shown below the code.
I must not have upgraded properly then -- I did that and I just see the path of the image file.
I've reinstalled the package, but no dice -- what am I doing wrong here: https://gist.github.com/b76fe910922ec31ba668f6f9c1386c45
Hm. Works for me:
I've removed and reinstalled plantuml, I've cleared my environment, but it doesn't show up for me.
It should be relatively easy, to add an inline preview to the knit engine, as the resulting file only needs to be printed to a graphics device?
Based I=on a question from @retorquere