rstudio
multiple authors and subtitles in Rmarkdown yaml
I just found out that it is possible to add subtitles to R markdown PDF output. I am using R 3.2.2 and RStudio 0.99.473 in Ubuntu 14.04. — title: ‘This is the title: it contains a colon’ subtitle: ‘This is the subtitle’ output: pdf_document —
Scale and size of plot in RStudio shiny
Not sure if this gives you fully what you desire, but here’s what worked for me. The options specified in Server.R did take effect. (I just plotted two graphs of different sizes each.) I also took @Manetheran’s suggestion and made cex and cex.axis into parameters. They seem to be working. Below is the code for … Read more
How to convert R Markdown to HTML? I.e., What does “Knit HTML” do in Rstudio 0.96?
Basic Script So now that the R markdown package has been released, here is some code to replicate the features of Knit to Html. require(knitr) # required for knitting from rmd to md require(markdown) # required for md to html knit(‘test.rmd’, ‘test.md’) # creates md file markdownToHTML(‘test.md’, ‘test.html’) # creates html file browseURL(paste(‘file://’, file.path(getwd(),’test.html’), sep=”)) … Read more