How to use expressions in subcaptions #7308
Unanswered
dmkaplan2000
asked this question in
Q&A (Q1)
Replies: 3 comments 16 replies
4 replies
|
Huh, OK, I have used that approach for external images, but never for figures that are output from R. Are To answer @cderv, I am using Quarto 1.4.429. |
2 replies
|
Also, is #| eval: !expr file.exists("my-results.RDS")If there a different approach to achieving this result? |
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Description
I want to use expressions in subcaptions, but I can't seem to figure out how to do it. For example, when I render the following document:
The overall figure caption appears as it should ("A test label"), but the captions for the subfigures are not correct, appearing as "expression(x)". Is there a way to fix this? I have tried various forms of quoting around
x, but nothing seems to work.All reactions