emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] unnamed :results


From: Thomas S. Dye
Subject: Re: [Orgmode] unnamed :results
Date: Wed, 5 Jan 2011 08:23:36 -1000

Hi Eric,

I went back and looked at this again. The same code block writes a named results block now, as it should. I must have put Org-mode in an unstable state earlier. Sorry for the noise.

Tom

On Jan 5, 2011, at 6:20 AM, Eric Schulte wrote:

Hmm,

I think the code has always named results blocks after the code block
when the code block has a name.  I would expect your "new" behavior
below to have been the standard behavior since the early days of babel.

Best -- Eric

"Thomas S. Dye" <address@hidden> writes:

Aloha all,

In the course of updating an Org-mode file to take account of the new
file output handling for R, I noticed a change in the naming of
results blocks.  In the example below, the top #+results: line was
produced with the most recent Org-mode from git.  The previous
behavior is on the following line.

#+srcname: r-complete-length-histogram-pdf
#+begin_src R :results output graphics :file r/adze_len_eg.png :var
x=whole-adzes
 library(ggplot2)
 adze.len <- ggplot(x, aes(length_poll))
 adze.len + geom_histogram()
#+end_src


#+results:
[[file:r/adze_len_eg.png]]

#+results: r-complete-length-histogram-pdf
[[file:r/adze_len_eg.png]]

The only change (other than updating Org-mode) was the addition of
graphics to the :results header argument.

All the best,
Tom

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




reply via email to

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