All Questions
639
questions
0
votes
1
answer
57
views
How to force data labels to not overlap in ggplot in R Quarto?
I am working with ggplot in R Quarto. I am trying to create a line graph with 3 longitudinal variables (so x = Year, Y = Var1, Var2, Var3). I want to show data labels for all three variables for each ...
1
vote
1
answer
35
views
ggplot are all the same when yaml parameter is passed and quarto_render is used in loop
I want to render multiple html documents using quarto_render
I have a main.qmd containing:
library(quarto)
library(glue)
# List of IDs of interest
ids <- c("A", "B", "C&...
0
votes
1
answer
38
views
Failing to automate slide creation for each plot (pptx format, R)
I have a list with 100 plots which I want to automate via quarto such that each plot is produced in a new slide of a power point presentation.
I am using Quarto 1.4.555 with R 4.4.0 via RStudio 2024.4....
0
votes
1
answer
34
views
How to format table cells in R Quarto HTML document (xtable)
I created an HTML-based R-Quarto document running on the knitr engine. In the example below, I set up the document, include dplyr, and try to format cells of mtcars that are above the column's average ...
1
vote
2
answers
34
views
Adding tooltips or popovers to table generated with `kableExtra` in an R quarto document
I want to add tooltips or popovers to HTML tables in Quarto, but got stuck, after reading the documentation and considerable trial and error. Links work as expected, but tooltips or popover messages ...
0
votes
0
answers
34
views
Execute chunk periodically in Quarto
What I want is to generate a html document with quarto and execute a code chunk every 10 seconds. Is it possible? (In shiny I can get similar functionality by using reactivePoll package).
This is my ...
0
votes
1
answer
31
views
Cannot Render QMD File to HTML or DOCX with Quarto: "cannot open the connection" Error
I am working on a data report and when I try to render my QMD file to HTML or DOCX using Quarto, I encounter the following error:
Error in file(file, ifelse(append, "a", "w")) :
...
0
votes
0
answers
23
views
How to apply a conditional filter to certain variables in tableby function?
I have the following dataframe with tableby.control function and its parameters as follows :
---
title: "Title"
subtitle: "Descriptive analysis"
author:
- name: AA
date: last-...
0
votes
0
answers
25
views
Keep reference document header when adding landscape page using officer
I have a quarto document rendering to word, and I'm using a reference document to format the document and to add a running header.
Part way through my document I add a landscape page like so:
officer::...
1
vote
1
answer
32
views
Is there a way to add a pop-up window to facet_wrap ggplot titles that shows title descriptions in Quarto?
Say I have this boxplot rendered within a Quarto document:
library(tidyverse)
library(ggplot2)
data(iris)
iris %>%
pivot_longer(cols = Sepal.Length:Petal.Width,
names_to = '...
0
votes
0
answers
66
views
Using Quarto, how to render a self-contained HTML file that contains shinylive-r code?
Description of issue
I am trying to create a self-contained HTML file with Quarto, that contains a {shinylive-r} code block, but I am having issues with this.
Is it possible to do this? Please see ...
1
vote
1
answer
40
views
Quarto delete plot files after rendering
The directory for the plot files is generated but once the docx document is rendered the plots and directory disappear. I have never experienced this before.
Is this an MAC OSX thing? I can't ...
0
votes
1
answer
45
views
How do I make sure my huxtable list maintains formatting when writing to docx in R/Quarto?
I am using huxtable in Quarto in R for a pretty complicated table, and I need to make sure I have running headers when I knit to word. The headers will have their own formatting that needs to be ...
1
vote
1
answer
85
views
How to create a table that spans multiple pages with Quarto and Typst
I am using Quarto, Typst, and R. I'm creating a table with gt. Currently if I create a table that is too long then it gets clipped (see below image)
This is what my R code block looks like. As ...
1
vote
1
answer
32
views
Link not rendered as button in Quarto reveal.js
I would like to style a link inside of a Quarto reveal.js presentation as a button, similar to this thread: https://github.com/quarto-dev/quarto-cli/discussions/4920.
However, the links are not styled ...