Category "r-markdown"

kableExtra: Vertical alignment not working in PDF output with many columns

I would like to align all columns in a kableExtra table to the top. The valign = "top" option does not seem to solve the issue here. Also, the third column is

Is `RefManageR` the new `citr` package in R?

I konw that's kind of a meta question but here it is: Is RefManageR the new citr package in R? I am using citr since 1 year now and I just realized that it is n

Styling of Ms Word not working in R Markdown

Have tried styling MS Word document from the markdown but I don't seem to get it write. What could I not be doing right? Below is the code --- title: "Test Docu

Listing to knitr environment (R-markdown error when using list2env in R chunks)

Edit: I figured out that the issue stems from the yaml code. It comes from applying this solution to dynamically name files. I believe it creates a parent envir

rmarkdown slidy html presentation: image and text side by side

I'm looking for option to insert image and text together (side by side) on R-markdown Slidy HTML presentation. However I can't find anything for this. Please ca

How to load ocr-a font in r markdown with bookdown::pdf_document2 to change title font?

I am trying to change the font for the title of my pdf document in rmarkdown to ocr-a. I have tried tinytex::tlmgr_install("ocr") but only received error messag

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