Just wrap the list output from lapply()
in htmltools::tagList()
, e.g.
```{r}
library(dygraphs)
lungDeaths <- cbind(mdeaths, fdeaths)
res <- lapply(1:2, function(i) dygraph(lungDeaths[, i]))
htmltools::tagList(res)
```
More Related Contents:
- How to add code folding to output chunks in rmarkdown html documents
- How to combine two RMarkdown (.Rmd) files into a single output?
- Insert picture/table in R Markdown [closed]
- knitr/rmarkdown/Latex: How to cross-reference figures and tables?
- Generate Dynamic R Markdown Blocks
- Setting document title in Rmarkdown from parameters
- Conditionally display a block of text in R Markdown
- Align multiple tables side by side
- How to change the figure caption format in bookdown
- two-column layouts in RStudio presentations/slidify/pandoc
- R Markdown – variable output name
- Code chunk font size in Rmarkdown with knitr and latex
- How can I force a line break in rmarkdown’s title?
- RMarkdown: How to end tabbed content
- Split the title onto multiple lines?
- How to add table of contents in Rmarkdown?
- How to hold figure position with figure caption in pdf output of knitr?
- Insert a logo in upper right corner of R markdown pdf document
- RMarkdown: How to change the font color?
- add image in title page of rmarkdown pdf
- Use loop to generate section of text in rmarkdown
- Use R code or Windows user variable (“%userprofile%”) in YAML?
- In RStudio/RMarkdown, how to setwd?
- Internal links in rmarkdown don’t work
- Plot size and resolution with R markdown, knitr, pandoc, beamer
- Rmarkdown Retain .tex file
- Reduce file size of R Markdown HTML output
- Wrap text around plots in Markdown
- Knit one markdown file to two output files
- How to add \newpage in Rmarkdown in a smart way?