Last active
January 26, 2016 16:11
-
-
Save lgatto/448133db50f31380bbb7 to your computer and use it in GitHub Desktop.
emacs-poly-mode-debugging
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
| (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)) |
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
| ;; 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 |
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
| ```{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