-
At the moment, Quarto doesn't allow mixing languages. Is this something that you think about supporting in the future? Since it seems to use an |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
You've pinpointed the central issue.
That's easier said than done in the generality that we'd be comfortable with in order to make it a quarto feature. To give a few examples:
It's a natural idea, but we currently don't think we can execute on it at the level we prefer. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to add that for some reason I thought quarto supported multiple languages within the same file (I guess part mis-remembering and mis-understanding that multiple languages != multiple languages in the same file). |
Beta Was this translation helpful? Give feedback.
-
I do know (and use) language interaction. In this case I'd like to show and compare languages for teaching purposes. So can't have the annotations.
<https://ts-cubed.github.io/>
…________________________________
From: Florian Oswald ***@***.***>
Sent: Friday, October 4, 2024 8:13:50 AM
To: quarto-dev/quarto-cli ***@***.***>
Cc: Schenkel, Torsten ***@***.***>; Author ***@***.***>
Subject: Re: [quarto-dev/quarto-cli] Could we use multiple languages in the same document? (Discussion #4232)
for example you could use julia to drive julia, R and python execution via RCall.jl and PyCall.jl - both of which work very well. A drawback is that both your python and R code will be slightly annotated - something like R"library(ggplot2)". So, in order to do actual computation, that works; in order to make it look beautiful, less sure.
—
Reply to this email directly, view it on GitHub<#4232 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMOMX2ESSL6XL7FMZZ3OQNLZZY525AVCNFSM6AAAAABPLIXNYWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBUGA3TSNA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks. Will need to look at that. Does it allow to show the code and output?
<https://ts-cubed.github.io/>
…________________________________
From: Mickaël Canouil ***@***.***>
Sent: Friday, October 4, 2024 9:45:50 AM
To: quarto-dev/quarto-cli ***@***.***>
Cc: Schenkel, Torsten ***@***.***>; Author ***@***.***>
Subject: Re: [quarto-dev/quarto-cli] Could we use multiple languages in the same document? (Discussion #4232)
One possible solution now, is to use the embed shortcode, see https://quarto.org/docs/authoring/notebook-embed.html.
—
Reply to this email directly, view it on GitHub<#4232 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMOMX2HL4BPTYWUBY2LL7STZZZIT5AVCNFSM6AAAAABPLIXNYWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBUGE3DQOI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
You've pinpointed the central issue.
That's easier said than done in the generality that we'd be comfortable with in order to make it a quarto feature. To give a few examples: