From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: :var problems with R Date: Thu, 21 Jun 2012 09:04:31 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShbRn-0002oz-Oq for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 03:05:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShbRl-00017R-OW for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 03:04:55 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:52793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShbRl-00017D-HP for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 03:04:53 -0400 Received: by obhx4 with SMTP id x4so668430obh.0 for ; Thu, 21 Jun 2012 00:04:51 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Neuwirth Erich Cc: emacs-orgmode@gnu.org 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 xxx=xvar xxx #+end_src #+RESULTS: myblock : ahaRx As I understand it, Babel can read from tables and lists only. Actually, to me, reading from a block of text doesn't make much sense for a source block. What kind of data structure would it represent (other than a long string of course :-p)? GL -- Suvayu Open source is the future. It sets us free.