org-babel and ESS?

View: New views
4 Messages — Rating Filter:   Alert me  

org-babel and ESS?

by Stephen Eglen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Is anyone on the list following orgmode development?  I am new to
orgmode, but this caught my eye.  Does this interact with ESS in any
way?

Stephen

 From: "Eric Schulte" <schulte.eric@...>
Subject: [Announcement] Org-babel initial release
Newsgroups: gmane.emacs.orgmode
To: Org Mode <emacs-orgmode@...>
Date: Mon, 14 Sep 2009 07:44:57 -0600

Dan Davison and I (Eric Schulte) are happy to announce that Org-babel
has now been released as a contributed package in Org-mode with
corresponding documentation on worg [1].

Org-babel provides the following functionality:
- Source-code execution and control of output in org buffers
  - currently supported languages [2]:
    - emacs-lisp
    - shell scripts
    - R
    - ruby
    - python
    - SQL
    - gnuplot
    - dot
    - ditaa
    - asymptote
    - Haskell
    - OCaml
    - css
    - sass
  - results of code execution can be [3]:
    - passed to other source-code blocks
    - inserted into Org buffer as Org-mode table
    - inserted into Org buffer as escaped text
    - inserted into Org buffer as raw Org-mode text
    - dropped to a file and linked to from Org-mode buffer (e.g. ditaa)
    - ignored
- Meta-programming language for org mode: each source-code block is
  treated as a function which can accept arguments in the form of:
  - entire org-mode tables
  - output of other source-code blocks
  - raw text
  - values of cells in Org-mode tables using the Org spreadsheet
    functionality
- Spreadsheet enhancement: source-code blocks can be called from
  spreadsheet functions within tables
- Community maintained library of useful code blocks [4]
- reproducible research [5]
- literate programming with org-mode [6]
  - Org-babel has special support for embedding your emacs
    initialization in literate Org-mode files [7]

To activate Org-babel simply grab the latest version of Org-mode and add
the following to your Emacs init (more complete instructions at [8]).

(require 'org-babel-init)

Thanks -- Eric

Footnotes:
[1]  http://orgmode.org/worg/org-contrib/babel/org-babel.php

[2]  http://orgmode.org/worg/org-contrib/babel/org-babel.php#languages

[3]  http://orgmode.org/worg/org-contrib/babel/org-babel.php#header-arguments

[4]  http://orgmode.org/worg/org-contrib/babel/org-babel.php#library-of-babel

[5]  http://orgmode.org/worg/org-contrib/babel/org-babel.php#reproducable-research

[6]  http://orgmode.org/worg/org-contrib/babel/org-babel.php#literate-programming

[7]  http://orgmode.org/worg/org-contrib/babel/org-babel.php#literate-emacs-initialization

[8]  http://orgmode.org/worg/org-contrib/babel/org-babel.php#getting-started


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@...
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: org-babel and ESS?

by ts8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Org-mode is a fantastic outliner / do-everything organizer. Org-babel is
very promising. It can give you many of the advantages of Sweave with
the ease and power of org-mode. You can write a document with embedded R
code. You can run the code from the buffer, and it can stuff results
back in the org buffer. You can export to html, pdf via latex, and
others. I haven't really used it much, yet (when I tried a pre-release
version, it was still a little raw).

It relates to ESS in that you can hit C-c ' in an R code block, and it
pops that code block into an ESS buffer. I've played with mumamo-mode
and multi-mode to get mixed org-mode / ess-mode in the same buffer, but
both had problems.

- Tom  

Tom Short

-----Original Message-----
From: ess-help-bounces@...
[mailto:ess-help-bounces@...] On Behalf Of Stephen Eglen
Sent: Tuesday, September 15, 2009 5:12 PM
To: ESS-help@...
Subject: [ESS] org-babel and ESS?


Is anyone on the list following orgmode development?  I am new to
orgmode, but this caught my eye.  Does this interact with ESS in any
way?

Stephen

 From: "Eric Schulte" <schulte.eric@...>
Subject: [Announcement] Org-babel initial release
Newsgroups: gmane.emacs.orgmode
To: Org Mode <emacs-orgmode@...>
Date: Mon, 14 Sep 2009 07:44:57 -0600

Dan Davison and I (Eric Schulte) are happy to announce that Org-babel
has now been released as a contributed package in Org-mode with
corresponding documentation on worg [1].

Org-babel provides the following functionality:
- Source-code execution and control of output in org buffers
  - currently supported languages [2]:
    - emacs-lisp
    - shell scripts
    - R
    - ruby
    - python
    - SQL
    - gnuplot
    - dot
    - ditaa
    - asymptote
    - Haskell
    - OCaml
    - css
    - sass
  - results of code execution can be [3]:
    - passed to other source-code blocks
    - inserted into Org buffer as Org-mode table
    - inserted into Org buffer as escaped text
    - inserted into Org buffer as raw Org-mode text
    - dropped to a file and linked to from Org-mode buffer (e.g. ditaa)
    - ignored
- Meta-programming language for org mode: each source-code block is
  treated as a function which can accept arguments in the form of:
  - entire org-mode tables
  - output of other source-code blocks
  - raw text
  - values of cells in Org-mode tables using the Org spreadsheet
    functionality
- Spreadsheet enhancement: source-code blocks can be called from
  spreadsheet functions within tables
- Community maintained library of useful code blocks [4]
- reproducible research [5]
- literate programming with org-mode [6]
  - Org-babel has special support for embedding your emacs
    initialization in literate Org-mode files [7]

To activate Org-babel simply grab the latest version of Org-mode and add
the following to your Emacs init (more complete instructions at [8]).

(require 'org-babel-init)

Thanks -- Eric

Footnotes:
[1]  http://orgmode.org/worg/org-contrib/babel/org-babel.php

[2]  http://orgmode.org/worg/org-contrib/babel/org-babel.php#languages

[3]
http://orgmode.org/worg/org-contrib/babel/org-babel.php#header-arguments

[4]
http://orgmode.org/worg/org-contrib/babel/org-babel.php#library-of-babel

[5]
http://orgmode.org/worg/org-contrib/babel/org-babel.php#reproducable-res
earch

[6]
http://orgmode.org/worg/org-contrib/babel/org-babel.php#literate-program
ming

[7]
http://orgmode.org/worg/org-contrib/babel/org-babel.php#literate-emacs-i
nitialization

[8]
http://orgmode.org/worg/org-contrib/babel/org-babel.php#getting-started


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@...
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: org-babel and ESS?

by rsparapa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Short, Tom wrote:

> Org-mode is a fantastic outliner / do-everything organizer. Org-babel is
> very promising. It can give you many of the advantages of Sweave with
> the ease and power of org-mode. You can write a document with embedded R
> code. You can run the code from the buffer, and it can stuff results
> back in the org buffer. You can export to html, pdf via latex, and
> others. I haven't really used it much, yet (when I tried a pre-release
> version, it was still a little raw).
>
> It relates to ESS in that you can hit C-c ' in an R code block, and it
> pops that code block into an ESS buffer. I've played with mumamo-mode
> and multi-mode to get mixed org-mode / ess-mode in the same buffer, but
> both had problems.
>
> - Tom  
>
> Tom Short

Hi Tom:

Did you try mmm-mode?

Thanks,

Rodney

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: org-babel and ESS?

by ts8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I tried mmm-mode too but couldn't get it to work well either. It's
tough to get org-mode to work with multiple modes because it wants to
change the folding whenever it is activated.

- Tom



-----Original Message-----
From: Rodney Sparapani [mailto:rsparapa@...]
Sent: Wednesday, September 16, 2009 9:31 AM
To: Short, Tom
Cc: Stephen Eglen; ESS-help@...
Subject: Re: org-babel and ESS?

Short, Tom wrote:
> Org-mode is a fantastic outliner / do-everything organizer. Org-babel
is
> very promising. It can give you many of the advantages of Sweave with
> the ease and power of org-mode. You can write a document with embedded
R
> code. You can run the code from the buffer, and it can stuff results
> back in the org buffer. You can export to html, pdf via latex, and
> others. I haven't really used it much, yet (when I tried a pre-release
> version, it was still a little raw).
>
> It relates to ESS in that you can hit C-c ' in an R code block, and it
> pops that code block into an ESS buffer. I've played with mumamo-mode
> and multi-mode to get mixed org-mode / ess-mode in the same buffer,
but
> both had problems.
>
> - Tom  
>
> Tom Short

Hi Tom:

Did you try mmm-mode?

Thanks,

Rodney

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help