Created
April 4, 2013 09:41
-
-
Save rpodcast/5309117 to your computer and use it in GitHub Desktop.
R markdown to wordpress test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Title | |
======================================================== | |
This is an R Markdown document. Markdown is a simple formatting syntax for authoring web pages (click the **MD** toolbar button for help on Markdown). | |
When you click the **Knit HTML** button a web page will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this: | |
```{r setup, include=FALSE} | |
opts_knit$set(base.url = 'https://dl.dropbox.com/u/194973/wp/', | |
base.dir = '~/Dropbox/Public/wp/') | |
``` | |
```{r} | |
summary(cars) | |
``` | |
You can also embed plots, for example: | |
```{r fig.width=7, fig.height=6} | |
plot(cars) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment