From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Meisig Subject: Property var alters behavior of org variables in R code blocks Date: Thu, 30 Aug 2012 11:40:32 +0200 Message-ID: <503F3510.4010408@biologie.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T71Ez-0002Q7-FZ for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 05:40:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T71Ep-0006NQ-Km for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 05:40:45 -0400 Received: from ir2.cms.hu-berlin.de ([141.20.1.148]:65049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T71Ep-0006Lo-E5 for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 05:40:35 -0400 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: emacs-orgmode@gnu.org Hi, I encountered the following problem using org-mode with R code blocks. When using #PROPERTY: var in my org file to set global variables, R stops to recognize the column names of org tables defined like this: #+TBLNAME: parameters-xlinked | A | B | |---+---| | 1 | 2 | #+begin_src R :session :var par.xlinked=parameters-xlinked :results output org ascii(par.xlinked) #+end_src #+RESULTS: #+BEGIN_ORG | | V1 | V2 | |---+------+------| | 1 | 1.00 | 2.00 | #+END_ORG without the variable defined I get the correct header: #+RESULTS: #+BEGIN_ORG | | A | B | |---+------+------| | 1 | 1.00 | 2.00 | #+END_ORG So, somehow setting the variable property messes with the variable interface to R. Johannes