John Hendy writes: [...] > > Haven't really been following along, but this works for me (after execution): > > #+begin_src emacs-lisp > (setq org-babel-default-header-args:R > '((:session . "org-R"))) > #+end_src > > > These aren't: > > -*- org-babel-default-header-args:R: ((:session . "foo")) -*- > > #-*- org-babel-default-header-args:R: ((:session . "foo")) -*- > > There were a lot of suggestions made above and I've never used the > -*-setting-*- syntax and am not searching the right things to find out > more about how this is supposed to work. > > ETA: Ah, I had to re-open the file after adding this to the buffer to > get it to recognize it: > > # Local Variables: > # org-babel-default-header-args:R: ((:session . "foo")) > # End: > > This produces the same issue as you, Andreas: > > Wrong type argument: sequencep, R: > > > Not sure. I'm on 8.0-pre (release_8.0-pre-193-gaa7b1e). > > > John > Hi all, so it seems, currently, I (and John...) can not have both, /file local/ and /language local/ variables. - The emacs-lisp-block #+begin_src emacs-lisp (setq org-babel-default-header-args:R '((:session . "org-R"))) #+end_src works, of course, but sets the R-session globally. - The file-local variables (both way to set them) choke on the colon in the varible name. I do not know where to search for the reason, these variables work for Eric but not for me (and John...). So attached is a simple patch (search-and-replace) that renames all org-babel-default-header-args:* variables to org-babel-default-header-args-* I do not see any problems with this renaming, but as I have only limited elisp, that might not mean too much. This fixes the issue for me at the cost of breaking other people's setup if they use org-babel-default-header-args:* variants. What do you think? Regards, Andreas