jimhester / knitrBootstrap

A framework to create bootstrap styled HTML reports from knitr Rmarkdown.
Other
274 stars 61 forks source link

Allow toggling thumbnailing #26

Closed jimhester closed 10 years ago

jimhester commented 10 years ago

Not everyone likes thumbnails, so there should be a way to disable them completely, not just change their size. Also I think I am going to move them back to underneath the blocks, the output seems too fragile as it is.

jlehtoma commented 10 years ago

+1 for this, showing figures as they are would be a great addition.

jdeines commented 10 years ago

I agree - I can get close to normally output figures now by not including 'render_html()', but then I lose code highlighting and toggling (I could live without the toggling).

I'm newish to github, but the reference above looks like this was addressed in the edits 5 days ago. I assume this is not yet in the version on CRAN, but I could not install the github version:

ERROR: dependency 'rmarkdown' is not available for package 'knitrBootstrap'

What is the blank ('') package, and did you just mean 'markdown' instead of 'rmarkdown'? The link you give in the README for rmarkdown also doesn't work... (http://http//rmarkdown.rstudio.com/)

Apologies if I'm missing something, and thanks for a great package!!

jimhester commented 10 years ago

Yes you can turn off thumbnailing by setting bootstrap.thumbnail=FALSE in your chunk option using the new version.

the rmarkdown package is not yet available on CRAN, as it is still in active development. It is distinct from the old markdown package from rstudio, it has many more features and uses a different backend.

You will need to install rmarkdown using devtools as well before trying to install knirBootstrap

install_github('rstudio/rmarkdown')

Thanks for mentioning the busted link, I have fixed it and mentioned installing the rmarkdown package as well in the README.

jdeines commented 10 years ago

Thanks, that allowed me to install the github version.