[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] :var problems with R
From: |
Thomas S. Dye |
Subject: |
Re: [O] :var problems with R |
Date: |
Thu, 21 Jun 2012 06:02:46 -1000 |
Neuwirth Erich <address@hidden> 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