From: William Denton <william@williamdenton.org>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Table width cookies become part of data table in R
Date: Fri, 15 Nov 2024 04:29:11 +0000 [thread overview]
Message-ID: <_XqzGYdYTbgEql7bdh5hazhuc9DpC5k6pPjWT126KEL_CE5NY-SlkHua-bbPDUsJ_-e4_oopiG7qvGJzCH2iyTZDDkyvtbM-JPqCONyCc8k=@williamdenton.org> (raw)
Up until recently, width cookies were ignored when reading a table into an R code block as data. For example, take this test table:
#+name: test_table
| Date | Weather |
| <10> | <50> |
|------------+----------------------|
| 2024-11-01 | Warm |
| 2024-11-02 | Warm |
| 2024-11-03 | Still strangely warm |
This code block turns it into a basic data table:
#+begin_src R :var t=test_table :colnames yes
t
#+end_src
#+RESULTS:
| Date | Weather |
|------------+----------------------|
| <10> | <50> |
| 2024-11-01 | Warm |
| 2024-11-02 | Warm |
| 2024-11-03 | Still strangely warm |
That first row, with "<10>", shouldn't be there. It wasn't until recently, but I can't see anything in ORG-NEWS or git commits about why it might have started. (I'm running from the development tree, updated just now.)
Is this a bug or am I missing something?
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
next reply other threads:[~2024-11-15 4:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-15 4:29 William Denton [this message]
2024-11-15 11:59 ` Table width cookies become part of data table in R Rens Oliemans
2024-11-15 14:23 ` William Denton
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='_XqzGYdYTbgEql7bdh5hazhuc9DpC5k6pPjWT126KEL_CE5NY-SlkHua-bbPDUsJ_-e4_oopiG7qvGJzCH2iyTZDDkyvtbM-JPqCONyCc8k=@williamdenton.org' \
--to=william@williamdenton.org \
--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).