From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: Commit 6d2ab40 breaks table input in R
Date: Wed, 23 Sep 2015 10:17:30 -0700 [thread overview]
Message-ID: <alpine.OSX.2.20.1509230935180.454@charles-berrys-macbook.local> (raw)
This ECM fails with an error starting with the above commit.
#+NAME: numeric
| 1 | 2 | 3 |
| 4 | 5 | 6 |
#+BEGIN_SRC R :var df=numeric
df
#+END_SRC
Similar tests in test-ob-R.el also fail.
orgtbl-to-tsv now returns a propertized string.
---
Should this be fixed in org-table.el or downstream in ob-R.el?
Maybe like this:
diff --git a/lisp/ob-R.el b/lisp/ob-R.el
index 4bd6eea..4f9fb91 100644
--- a/lisp/ob-R.el
+++ b/lisp/ob-R.el
@@ -239,7 +239,8 @@ This function is called by
`org-babel-execute-src-block'."
(min (if lengths (apply 'min lengths) 0)))
;; Ensure VALUE has an orgtbl structure (depth of at least 2).
(unless (listp (car value)) (setq value (list value)))
- (let ((file (orgtbl-to-tsv value '(:fmt org-babel-R-quote-tsv-field)))
+ (let ((file (org-no-properties
+ (orgtbl-to-tsv value '(:fmt org-babel-R-quote-tsv-field))))
(header (if (or (eq (nth 1 value) 'hline) colnames-p)
"TRUE" "FALSE"))
(row-names (if rownames-p "1" "NULL")))
Chuck
next reply other threads:[~2015-09-23 17:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-23 17:17 Charles C. Berry [this message]
2015-09-23 21:00 ` Commit 6d2ab40 breaks table input in R Nicolas Goaziou
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=alpine.OSX.2.20.1509230935180.454@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--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).