Skip to content

Instantly share code, notes, and snippets.

@rmflight
Created September 17, 2012 15:55
Show Gist options
  • Save rmflight/3738159 to your computer and use it in GitHub Desktop.
Save rmflight/3738159 to your computer and use it in GitHub Desktop.
useful websites: github pages, blogging, etc

How to host a blog using github

http://mbmccormick.com/2011/10/ditching-wordpress-for-jekyll-and-github/

How to do figure captions in knitr / markdown

yihui/knitr#81

use \caption{} and \label{} in latex; use in HTML; use caption in markdown

From the options manual: eval.after: (NULL) a character vector of option names; these options will be evaluated after a chunk is evaluated, and all other options will be evaluated before a chunk (e.g. for chunk option fig.cap=paste('p-value is', t.test(x)$p.value), it will be evaluated after the chunk according to the value of x if eval.after='fig.cap')

What about table references?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment