# -*- org-babel-default-header-args:R: ((:session . "foo")) -*- #+Title: Example #+Author: Eric Schulte For more information on file local variables see [[info:elisp#File%20Local%20Variables][info:elisp#File Local Variables]]. Because there is a default :session values assigned locally for R blocks we have the following. #+begin_src R x <- 1 x #+end_src #+RESULTS: : 1 #+begin_src R x #+end_src #+RESULTS: : 1 But non-R code blocks do not have a default session value. #+begin_src sh date #+end_src #+RESULTS: : Wed Mar 27 09:45:47 MDT 2013