My understanding of the property syntax for org-babel/orgmode is that by using the header-args:R
I should be able to set up "options" for all R src blocks in an org file. This will work if I declare them on the line in the BEGIN_SRC
, but I don't want to type the same options over and over, and I would like to do it for the whole buffer. Using org-version 8.3(Beta)
Questions: I have misunderstood the syntax, or is there likely something wrong with my install?
#+TITLE: Test
#+DATE:
#+AUTHOR:
#+EMAIL: britt
#+LANGUAGE: en
#+SELECT_TAGS: export
#+EXCLUDE_TAGS: noexport
#+PROPERTY: header-args:R :session *R2*
* Introduction
Want to get buffer property to work
#+BEGIN_SRC R
library(ggplot2)
library(data.table)
#+END_SRC
Remove the column in front of session
...
PS- You can find such info in my (incomplete, not up-to-date as I would like) Org Babel Refcard at https://github.com/fniessen/refcard-org-babel .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.