Skip to content

Instantly share code, notes, and snippets.

Last active Jan 26, 2016
What would you like to do?
(setq package-user-dir (expand-file-name "~/fmp"))
(require 'package)
(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" . "") t)
(setq package-user-dir (expand-file-name "~/fmp"))
;; The following three packages should be installed:
;; ess polymode markdown-mode
;; by e.g.:
;; M-x package-install RET ess RET
data.frame(start=c(0, 0),
end=c(24, Inf),
cmax=c(FALSE, TRUE),
tmax=c(FALSE, 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