Skip to content
Discussion options

You must be logged in to vote

I am not sure to understand.
it's just regular computation with whatever language you want to use.
There is a whole set of guides regarding computations, https://quarto.org/docs/guide/.
And regarding QUARTO_PROFILE, it is in the documentation you likely have read since you are using profiles, see https://quarto.org/docs/projects/profiles.html#activating-profiles.

```r
df <- data.frame(
  Variable = c("var1", "var2", "var3", "var4"),
  Meaning = c("some value 1", "some value 2", "some value 3", "some value 4")
)

if (Sys.getenv("QUARTO_PROFILE") %in% "dummy") {
  knitr::kable(df)
} else {
  knitr::kable(df[1:2, ])
}
```

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@martin-g
Comment options

@mcanouil
Comment options

mcanouil Dec 5, 2023
Collaborator

Answer selected by martin-g
@martin-g
Comment options

@mcanouil
Comment options

mcanouil Dec 5, 2023
Collaborator

@jimjam-slam
Comment options

@mcanouil
Comment options

mcanouil Dec 6, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration
3 participants