Skip to content

Instantly share code, notes, and snippets.

@lgatto
Last active Jan 26, 2016
Embed
What would you like to do?
emacs-poly-mode-debugging
(setq package-user-dir (expand-file-name "~/fmp"))
(require 'package)
(package-initialize)
(require 'ess-site)
(require 'poly-R)
(require 'poly-markdown)
(add-to-list 'auto-mode-alist '("\\.Rmd" . poly-markdown+r-mode))
;; install the neccessary packages.
;; we install the required packages from MELPA into a fresh (temporary)
;; directory t
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(setq package-user-dir (expand-file-name "~/fmp"))
(package-initialize)
;; The following three packages should be installed:
;; ess polymode markdown-mode
;; by e.g.:
;; M-x package-install RET ess RET
```{r}
data.frame(start=c(0, 0),
end=c(24, Inf),
cmax=c(FALSE, TRUE),
tmax=c(FALSE, TRUE),
auclast=TRUE,
aucinf=c(FALSE, TRUE))
```
hello world
## foo
## bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment