Neuwirth Erich <erich.neuwi...@univie.ac.at> 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 block, it does > not work any more. > I think it should because R also returns the character value in that case. > > Any ideas? >
This works here: #+name: xvar #+begin_src R "ahaRx" #+end_src #+RESULTS: xvar : ahaRx #+name: myblock #+begin_src R :var xxx=xvar xxx #+end_src #+RESULTS: myblock : ahaRx You don't say what doesn't work, which makes it difficult to diagnose what might be going wrong on your end. All the best, Tom -- Thomas S. Dye http://www.tsdye.com