Category "r-markdown"

Muliple table captions in DT in R

I'm following the example from here: https://rstudio.github.io/DT/ I can get a caption above the table with: library(DT) datatable( head(iris), caption =

R markdown results='hold' but for messages?

I have functions outputting multiple messages in my code and I can't get these messages to be in the same output chunk, like with results='hold'. As of now, th

Why is table numbering not working with blogdown::html_page, but working with bookdown::html_document2?

I have a report written in R Markdown that is supposed to use numbered sections, figures, and tables and cross-references to them: https://github.com/joshuaborn

Knit PDF Output with CAT in R

I am using CAT command in R to get following output. The Output in knitted PDF file is different to what I get in console. How can I get similar output in PDF a

R Markdown won't knit even though my code chunks work

For some reason, my code chunks work but when I try to knit the file, I have an "object not found" error. Here's the chunk which causes the error: library(ggplo

LaTex not findable during rmarkdown render to pdf [duplicate]

I am havng trouble rendering pdfs in rmarkdown. Everything has been working fine until a point yesterday that I started getting this error mes

avoid "pandoc document conversion failed with error 61" for `github_document`

I keep failing to knit a github_document because of the error shown below. A solution to avoid this was provided in this question for html_document. But that ar

rmarkdown beamer reduce font size for references

How can I reduce the font size in the references section of an beamer presentation written in rmarkdown? I was able to get the references on multiple slides, bu

Rstudio sometimes freezes a few seconds after opening or entering RMD files

Rstudio intermittently freezes a few seconds after opening an RMD file, or (in cases where the RMD file was loaded on startup), after making it the active thing

How I can separate the subtabs or (nested tabs) in R markdown and not showing them all side by side?

Hi as mentioned in the question, please, I want to know the code needed to separate the sub tabs in and not showing them all side by side . I tried several code

knit to PDF failure

I am an R user with 4 years of experience, but only recently starting using RMarkdown, from RStudio. Generally things have gone OK, and have been able to export

RMarkdown slidy presentation: tabset?

I am looking for a way to use {.tabset} in an RMarkdown Slidy presentation, but the tabs are not created and it just lists everything sequentially on the slide.

RMarkdown kable vertically align cells

I am authoring a report using RMarkdown, and using kable and kableExtra to format and print the table. Here is what I want would look like the table to look lik

How to stop wrapfigure floating in rmarkdown to pdf

I have a RMarkdown document with some text, and I want to wrap the text around a figure. Now this hasn't been a problem previously using wrapfigure, however all

Rendering many Rmds from command line using GNU parallel

To knit an Rmd from the command line, you can do the following and it creates an HTML Rscript -e "rmarkdown::knit('test.Rmd')" I want to do this for many Rmds

R Markdown, output test results in loop

I'm looking for a nicely formated markdown output of test results that are produced within a for loop and structured with headings. For example df <- data.f

How to cite within a figure caption w/ rmarkdown native citation?

In R Markdown, I want a figure caption with a linked citation in R Markdown native citation style [@ref]. However, when I insert the [@hawking_thermodynamics_19

How to add a line break in Rmarkdown code?

I have an rmarkdown document with this: `r {"### MyHeading"}` I would like to add a line break after this (no text, just an empty line). How can I accomplish

quarto rmarkdown code block to only display certain lines

I have a .qmd / .rmd file that wants to show the output of block of code. The code block has a lot of lines at the beginning that I'd like to hide, in the examp

How to omit sections from table of contents in R Markdown with officedown

I am drafting an rmd that needs a Table of Contents and needs to be knitted to Word. I am using the officedown package and while I can get a TOC, I need to have