Questions tagged [knitrbootstrap]

10 questions
3
votes
0 answers

Display a googleVis plot in knitr html document

i'm new using googleVis and have a problem that i don't know how to manage. How can display a googleVis graphic in a html knitr document?, I see some templates and make this code --- output: knitrBootstrap::bootstrap_document: title:…
1
vote
1 answer

Running Code Chunks in R (knitr package)

I'm working on a markdown file I was sent that wants some of the script to be written in code chunks using the knitr package, which I've never used before. The problem I'm running into is that the scripts don't appear to be working when placed in…
user6855566
1
vote
1 answer

R - knitr:kable - removing individual headers and adding single header on multiple columns

R code in Rmarkdown file: col1 <- c("dummydata","dummydata","dummydata") col2 <- c("dummydata","dummydata","dummydata") col3 <- c("dummydata","dummydata","dummydata") col4 <- c("dummydata","dummydata","dummydata") col5 <-…
Urvah Shabbir
  • 945
  • 2
  • 15
  • 46
1
vote
1 answer

Is there any way to print rmarkdown table without losing colors?

when I try to print HTML generated by knitr, the print page losses all colors and format. Is there any way to print HTML output as it is without losing formatting? I have tried getting around this by using css suggested by this however, does not…
M.Qasim
  • 1,827
  • 4
  • 33
  • 58
1
vote
1 answer

Using DT package with knitrBootstrap

Does anyone know if there are issues using the DT package in conjunction with knitrBootstap? When I try to render a data table using the datatable function, the table itself does not render when the document is knit. I've tried using the simple…
1
vote
0 answers

pandoc document conversion error in rmarkdown

I just updated RStudio from 0.98.1028 to 0.98.1074 (latest as of today) and started hitting the error below (RStudio support forum) on a knit-to-HTML script which worked previously. It seems like this may be due to caching, but I have…
Max Ghenis
  • 14,783
  • 16
  • 84
  • 132
1
vote
2 answers

knitrBootstrap to HTML latency issues

I recently upgraded to what I believe is still the most current version of r-studio and knitrBootstrap and have run into latency issues during the rendering process converting a sample.utf8.md -- to html. When I run a simple example…
1
vote
1 answer

Additional HTML content with knitrbootstrap

Is it possible to include additional HTML content or define a common lib_dir, when using the bootstrap_document function as an output type? i.e. --- output: knitrBootstrap::bootstrap_document: title: "Test file" theme: amelia …
Brani
  • 6,454
  • 15
  • 46
  • 49
0
votes
3 answers

Compact table in html document rmarkdown with kableExtra?

I'm trying to make a 'compact' table in an RMarkdown I've tried a few things, mostly variations on setting a custom css class and providing the custom css class to a code chunk I've tried a lot of variations, all of which I can see flow through to…
stevec
  • 41,291
  • 27
  • 223
  • 311
0
votes
0 answers

How to set knitr syntax highlighting themes in R Notebooks?

I'm trying to get one of the knitr highlight themes applied to my R Notebook, but what I'm doing doesn't work (in both the Notebook Preview and the Knitted HTML file.) Can you explain to me what the proper way to do this is? Thanks! --- …
Carmen Sandoval
  • 2,266
  • 5
  • 30
  • 46