emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: [ob-R] table variable passing broken
Date: Tue, 14 Oct 2014 14:38:46 +0100	[thread overview]
Message-ID: <olud29ug49l.fsf@med.uni-goettingen.de> (raw)

Hi all,

There seems to be a bug in table passing as variables now using the
tangle-friendly version of passing variables.


Here is an example (I get an error also with emacs -Q):

--8<---------------cut here---------------start------------->8---
* test
#+name: testtab
| variable              | display                       | unit  |
|-----------------------+-------------------------------+-------|
| num_cells             | Number of Cells in Well       |       |
| cell_area             | Cell Area                     | μm²   |
| nucleus_area          | Nucleus Area                  | μm²   |
| roundness             | Cell Roundness                |       |
| ratio_w2l             | Cell Width to Length Ratio    |       |
| inten_nuc_dapi_median | Intensity Nucleus DAPI Median |       |
| dapi_median           | Intensity Nucleus DAPI Median |       |
| edu_median            | Intensity edu Median          |       |
| oct4_median           | Intensity oct4 Median         |       |
| clump_size            | Clump Size                    | cells |
| short_name            | Cell Line                     |       |
| p_col                 | Column                        |       |
| batch                 | Batch                         |       |
| concentration         | Fibronectin Concentration     | ugml  |
| Residual              | Residual                      |       |
| evaluation_guid       | Plate                         |       |
| donor                 | Genotype                      |       |

#+BEGIN_SRC R :session *test* :var test=testtab
  test
#+END_SRC

#+RESULTS:
--8<---------------cut here---------------end--------------->8---



I see this in my R session:

--8<---------------cut here---------------start------------->8---
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  (from testorg.org!917613Wp#22) : 
  line 17 did not have 3 elements
--8<---------------cut here---------------end--------------->8---

This is on
- GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.3.0, NS appkit-1265.21 Version 10.9.4 (Build 13E28)) of 2014-09-02 on mib106584i.local
- Org-mode version 8.3beta (release_8.3beta-470-g087f8e)
- ess-version: 14.05 [git: 4283f1304a54502c42707b6a4ba347703f0992dd]

Best,
Andreas

             reply	other threads:[~2014-10-14 13:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 13:38 Andreas Leha [this message]
2014-10-14 16:36 ` [ob-R] table variable passing broken Charles Berry
2014-10-14 19:03   ` Andreas Leha
2014-10-16 14:02     ` Andreas Leha

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=olud29ug49l.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.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).