emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org tables into R?


From: Michael Gauland
Subject: Re: [O] org tables into R?
Date: Sun, 4 Jan 2015 03:19:50 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I modified the definition of ob-R-transfer-variable-table-with-header in
ob-R.el by changing 'sep' from \"\\t\" to \"\". Now


  #+BEGIN_SRC R :results output :exports both :session :var data.table=data
:colnames yes
  names(data.table)
  head(data.table)
  #+END_SRC

(note the addition of :colnames=yes) give me:

  #+RESULTS:
  : [1] "A" "B" "C"
  :     A  B  C
  : 1 115 76 60
  : 2 124 78 55
  : 3 118 73 65
  : 4 114 75 61
  : 5 108 74 82

as I expect.

What is the current procedure to submit a patch?

Thanks,
Michael








reply via email to

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