[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] How to write a org babel hook, which can manupulate result
From: |
Feng Shu |
Subject: |
[O] How to write a org babel hook, which can manupulate result |
Date: |
Wed, 26 Mar 2014 21:17:15 +0800 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) |
Hi:
I want to write a hook to menupulate org babel output,
The problem is: How can I get two points info: [pointA] and [pointB]
in my hook function?
#+begin_src R :results output raw drawer
tbl <- data.frame(a=c(1,2,3),b=c(3,2,1))
print(ascii(tbl),type="org")
#+END_SRC
#+RESULTS:
:RESULTS:
[pointA]
| | a | b |
|---+------+------|
| 1 | 1.00 | 3.00 |
| 2 | 2.00 | 2.00 |
| 3 | 3.00 | 1.00 |
[pointB]
:END:
--
- [O] How to write a org babel hook, which can manupulate result,
Feng Shu <=