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
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
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