Access Quarto params from R notebook #14153
Unanswered
AlbertoFabbri93
asked this question in
Q&A
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 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
Hi, in my
_quarto.ymlfile I have declared a variable:The problem is that I can not find a way to access this variable from my
Rnotebook. The canonical way to do that would be to accessparams$savebut when I do that I get the following error:If I understand it correctly,
paramsis being overwritten by a package I am importing but I can not remove any of the imported packages. Also, accessingparamsas the first thing in my code does not make any difference, not sure why though.I tried many other functions from the
knitrpackage to accessparamsbut nothing works. How do I do it?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions