pdf
and HTML
pdf
for dead treesHTML
to be published on your websiteCombining code and text
Creating presentations
Online publishing
Bring it all together
RStudio
uses the package knitr
Actually knitting in chunks of code within text.
example
Discussion: code within text or as separate files?
{```}{r, echo=FALSE, results='hide',
warning=TRUE, warning=TRUE, message=TRUE}
rnorm(10)
{```}
{```}{r, echo=FALSE}
source("./file.R")
{```}
pdf — good for printing (handouts)
In RStudio remarkably easy to incorporate
If you have ever made beamer slides this is a huge time saver
Makes you flexible.
And incorporates code!
So, with one make file presentations are updated as well!
git
is versioning application, but:
Github
:
.txt
files)For complete packages (it is not a file server)
diff
commands)So you push
to a repository
And you pull
from a repository
If you like something you can fork
a repository (on Github) > Forking a repository allows you to freely experiment with changes without affecting the original project.
If you would just like a copy of a repository on a computer you should use clone
Using Github pages (gh-pages
); you get something like: darribas.github.io/WooWii/
Useful for blogs
Showcase of projects http://darribas.org/bits/
go to /WooWii/Paper/Assignment5/
Incorporate source files using knitr
publish on your own github repository
pdf
outputdoc
outputhtml
output