How to execute inline source blocks in an org-mode table?

Viewed 1490

I would like to have the output of src_R blocks in an org-mode table:

| Variable | Value    |
|----------+----------|
| x        | src_R{x} |

However, when I export to PDF (via LaTeX) I get the literal src_R{x} rather than the value of the x variable in the underlying R session. I can use the same src_R{x} in text and it works as expected.

Is there a way to support inline source code in tables?

(I have seen this question with a similar title: Code blocks inside tables for org-mode, but the topic is different.)

1 Answers
Related