Replies: 2 comments
-
You're asking a question that's a bit more general than tabsets; the same question could be asked about two consecutive code cells. I think the answer is to use different variable names (it would probably also help your documentation to have different data tables stored under different variable names so the user knows). You can create separate R environments if you want to write generic functions later. |
Beta Was this translation helpful? Give feedback.
-
Your question is not related to Quarto. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi! I'm hoping to use Quarto to create tabsets for two different R packages, to show the side-by-side code on a published webpage (so rendering to HTML). However, these packages represent data tables as different types internally, and so when the second package runs, it overwrites the variable names with the new data types, which can lose compatibility with future methods. Is there any way for the two tabsets, if they are grouped, to essentially run in separate variable environments?
Beta Was this translation helpful? Give feedback.
All reactions