emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Fix R table import


From: Aaron Ecay
Subject: Re: [O] [PATCH] Fix R table import
Date: Sun, 04 Jan 2015 19:35:28 -0500
User-agent: Notmuch/0.19+11~g3d978a0 (http://notmuchmail.org) Emacs/25.0.50.2 (x86_64-unknown-linux-gnu)

Hi Michael,

Hmm.  I have

Org-mode version 8.3beta (release_8.3beta-695-g390015 @ 
/home/aecay/development/org-mode/lisp/)

The git sha 034d00 from your org-version isn’t in my checkout.  Yours
also thinks it’s 60ish commits ahead of where mine is (758 vs. 695).
This is very strange; I don’t know what to make of it.

I have:

GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.6)

What is your version of ESS?  (C-h v ess-version)  It’s 14.11 for me
(actually a melpa install of the latest git version).

I executed the attached elisp file, then loaded the attached org file,
and could not reproduce the issue.  When doing so, the code that org
executes is echoed to the *R* buffer.  Can you send what is echoed for
you?  (You will have to edit in the appropriate paths to your org and
ess installations, unless they are in emacs’s default load-path)

I get:

data.table <- local({
     con <- textConnection(
       "\"A\"   \"B\"   \"C\"
\"115\" \"76\"  \"60\""
     )
     res <- utils::read.table(
       con,
       header    = TRUE,
       row.names = NULL,
       sep       = "\t",
       as.is     = TRUE
     )
     close(con)
     res
   })
data.table
'org_babel_R_eoe'

Attachment: r-table.el
Description: application/emacs-lisp

Attachment: r-table.org
Description: Lotus Organizer

Thanks,

-- 
Aaron Ecay

reply via email to

[Prev in Thread] Current Thread [Next in Thread]