From: Johannes Meisig <j.meisig@biologie.hu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Property var alters behavior of org variables in R code blocks
Date: Thu, 30 Aug 2012 11:40:32 +0200 [thread overview]
Message-ID: <503F3510.4010408@biologie.hu-berlin.de> (raw)
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
reply other threads:[~2012-08-30 9:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503F3510.4010408@biologie.hu-berlin.de \
--to=j.meisig@biologie.hu-berlin.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).