I recently discovered how neatly you can work with R-markdown(.Rmd) files. Since I prefer to have all my work in Sublime text 2 I was glad to find this package. While the sending to R works nicely thanks to this post, for some reason sublime doesn't compile my markdown file. After strg+shift+b instead of an .md-file I get this error:
Traceback (most recent call last):
File ".\sublime_plugin.py", line 337, in run_
File ".\exec.py", line 154, in run
TypeError: __init__() got an unexpected keyword argument 'shell_cmd'
The test file has this form
% Test document
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do `eiusmod` tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo.
```{r example_chunk, fig.width=5, fig.height=3}
x <- rnorm(100)
y <- rnorm(100)
plot(y ~ x, pch=20)
```
I use python 2.7. and installed all the dependencies for knitr.