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
Glancing at the Parameterised Exercises, the random value being generated uses OJS. Is there a way to generate an R or Python value and pass it forward?
I remember we briefly chatted about the syntax for accessing variables being ${}; but, I can't remember if the inline value had to be initialized with ojs instead of an R/Python engine.
Once define’d, you should be able to use the variable in the same way as ones defined in OJS. The only issue I think might happen is that everything is a vector in R so you might need to do things like ${var[0]} for the moment.
Gotcha. I think I'll probably send a quick PR to add that in. I do realize that exercise is meant to precede the more advanced OJS input selector; but, I think a lot of folks might find that useful.
Maybe, showcase the inline variable retrieval underneath the storing and recall code portion in the interactive code blocks?
Glancing at the Parameterised Exercises, the random value being generated uses OJS. Is there a way to generate an R or Python value and pass it forward?
I remember we briefly chatted about the syntax for accessing variables being
${}
; but, I can't remember if the inline value had to be initialized withojs
instead of an R/Python engine.https://quarto-live-dev.netlify.app/interactive/dynamic#parameterised-exercises
The text was updated successfully, but these errors were encountered: