> > Sorry to ask for such a trivial thing, but I'm *very* short on time > these days, and applying a patch is *much* easier. Sure - should have done it instead of asking. Cheers, Rainer > > Thanks, > >> >> Rainer >> >>> >>> Best, >>> >>> Rainer M Krug writes: >>> >>>> Hi >>>> >>>> shouldn't the following not give an error from R as it should not be >>>> expanding the variables? >>>> >>>> --8<---------------cut here---------------start------------->8--- >>>> #+PROPERTY: no-expand TRUE >>>> #+PROPERTY: var YEAR=2014 >>>> >>>> * a noexpand code >>>> >>>> #+begin_src R :results output :no-expand >>>> cat(YEAR) >>>> #+end_src >>>> >>>> #+RESULTS: >>>> : 2014 >>>> --8<---------------cut here---------------end--------------->8--- >>>> >>>> The manual states: >>>> >>>> ,---- >>>> | 14.8.2.11 `:no-expand' >>>> | ...................... >>>> | >>>> | By default, code blocks are expanded with `org-babel-expand-src-block' >>>> | during tangling. This has the effect of assigning values to variables >>>> | specified with `:var' (see *Note var::), and of replacing "noweb" >>>> | references (see *Note Noweb reference syntax::) with their targets. The >>>> | `:no-expand' header argument can be used to turn off this behavior. >>>> `---- >>>> >>>> Org-mode version 8.2.5h (release_8.2.5h-869-gdcfe09 @ >>>> /Users/rainerkrug/.emacs.d/org-mode/lisp/) >>>> >>>> Cheers, >>>> >>>> Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982