Questions tagged [quarto]
Quarto is an open-source scientific and technical publishing system built on Pandoc
quarto
1,174
questions
0
votes
0
answers
9
views
Data frames printed in text form in R markdown UI
How do I display R document code chunk output as text format just like the console output?
In this R quarto document I am using, when I run a cell containing a data frame object, it prints it to a ...
0
votes
1
answer
24
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
29
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
30
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
0
answers
17
views
Is it possible to conditionally include a file in a quarto document?
This doc shows how to include a file:
{{< include _content.qmd >}}
And this doc shows how to conditionally include based on a metadata file:
::: {.content-hidden unless-meta="path.to....
0
votes
1
answer
27
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
22
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
24
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::...
0
votes
0
answers
23
views
How to generate the index.xml file for a quarto website?
I have initialized the YML in index.qmd as explained by the options section for quarto websites:
---
title: "Datos y Leyendas"
listing:
feed:
items: 5
type: partial
language: ...
1
vote
1
answer
29
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 = '...
1
vote
1
answer
30
views
How to insert a pagebreak after the ToC, LoT or LoF?
How can I have a pagebreak after the table of contents, table of figures, or table of tables in quarto, when I render as pdf?
I tried using the before-body.tex file and include a \pagebreak, however ...
0
votes
0
answers
51
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
39
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
39
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 ...
0
votes
3
answers
53
views
Quarto and Github Actions error: The specified path (.) is not a website
Edit: The problem had nothing to do with the GitHub token but was related to defining the path where the .qmd file is stored. See last answer
I made a Quarto website that automatically updates every ...