Re: [O] :var problems with R

2012-06-21 Thread Neuwirth Erich
Meanwhile I learned that #+name: xvar : waterfall #+name: myblock #+begin_src R :var xxx=xvar print(xxx) #+end_src #+RESULTS: myblock : waterfall ans so will #+name: xvar2 : water #+name: myblock2 #+begin_src R :var xxx=xvar2 xxx #+end_src #+RESULTS: myblock2 : water The critical missing p

Re: [O] :var problems with R

2012-06-21 Thread Thomas S. Dye
Neuwirth Erich writes: > The following works > #+name: xvar > #+begin_src emacs-lisp > "ahaRx" > #+end_src > > #+RESULTS: xvar > : ahaR > #+name: myblock > #+begin_src R :var xxx=xvar > xxx > #+end_src > > #+RESULTS: myblock > : ahaRx > > But when I replace emacs-lisp with R in the first code blo

Re: [O] :var problems with R

2012-06-21 Thread suvayu ali
Hi Neuwirth, On Thu, Jun 21, 2012 at 8:14 AM, Neuwirth Erich wrote: > The following works > #+name: xvar > #+begin_src emacs-lisp > "ahaRx" > #+end_src Why are you not using something that you know works? Try the following for example. #+name: xvar |"ahaRx"| #+name: myblock #+begin_src R :var