emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* import R data frame into org-mode table
@ 2013-07-16 15:19 Rob Stewart
  2013-07-17 22:09 ` Andreas Leha
  2013-07-17 22:48 ` Thomas S. Dye
  0 siblings, 2 replies; 10+ messages in thread
From: Rob Stewart @ 2013-07-16 15:19 UTC (permalink / raw)
  To: emacs-orgmode

I have an R script that generates a data frame, that I export to a CSV
file. The data looks something like this:

    "","Variant","Xaxis","N","mean","sd","se"
    "1","line1",10,5,111.11,9.33,3.11
    "1","line1",20,5,112.11,9.13,3.14
    "1","line1",30,5,113.11,9.43,3.10
    "1","line2",10,5,101.11,8.33,2.11
    "1","line2",20,5,100.11,8.13,2.12
    "1","line2",30,5,108.11,8.03,2.10

I have an ongoing org-mode document in which I'd like to report this
data. I'd like to add a table that looks something like this:

    | Variant | X Axis | Y Axis | N | Mean | Standard Deviation |
Standard Error |
    |----------------------------------------------------------------------------|

The data will change frequently over the coming months. I'd like
org-mode to auto-magically read a CSV file, to construct my org-table
on-the-fly. I'd hoping to avoid copying and pasting results each time.

Is there some org-mode or emacs+ESS magic I can use to populate my
empty table, with source data from my CSV file?

--
Rob

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-07-30 18:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-16 15:19 import R data frame into org-mode table Rob Stewart
2013-07-17 22:09 ` Andreas Leha
2013-07-29 14:42   ` Rob Stewart
2013-07-29 15:35     ` Cook, Malcolm
2013-07-29 16:03       ` John Hendy
2013-07-29 17:11         ` Nick Dokos
2013-07-29 20:17         ` Cook, Malcolm
2013-07-29 21:40           ` Nick Dokos
2013-07-30 17:59             ` Cook, Malcolm
2013-07-17 22:48 ` Thomas S. Dye

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).