[Orgmode] [org-babel] Using the power of ESS inside an R source code block

2010-10-24 Thread Bernd Weiss
Dear all, Yesterday, I spent some time (re-)discovering the power of org-babel and R. Everything works well but there is one issue that I find somewhat annoying (I apologise if this word is too rude). As a long-time ESS user I wish that I could use things like ESS syntax highlighting, indentat

Re: [Orgmode] [org-babel] Using the power of ESS inside an R source code block

2010-10-24 Thread Bernd Weiss
Am 24.10.2010 05:44, schrieb Bernd Weiss: Dear all, Yesterday, I spent some time (re-)discovering the power of org-babel and R. Everything works well but there is one issue that I find somewhat annoying (I apologise if this word is too rude). As a long-time ESS user I wish that I could use

[Orgmode] Re: [org-babel] Using the power of ESS inside an R source code block

2010-10-26 Thread Bernd Weiss
Am 26.10.2010 10:05, schrieb Dan Davison: [...] Am 24.10.2010 05:44, schrieb Bernd Weiss: [...] Dear all, Yesterday, I spent some time (re-)discovering the power of org-babel and R. Everything works well but there is one issue that I find somewhat annoying (I apologise if this word is too

[Orgmode] [org-babel] R, :session and empty line in #+results

2010-11-30 Thread Bernd Weiss
Dear all, I would like to use R objects across/among code blocks. Therefore, I included the header argument ":session" which then produces the following results: #+BEGIN_SRC R :results output :session x <- 1 x x + 1 #+END_SRC #+results: : : [1] 1 : [1] 2 #+BEGIN_SRC R :results output :ses

Re: [Orgmode] [org-babel] R, :session and empty line in #+results

2010-12-01 Thread Bernd Weiss
Am 01.12.2010 02:19, schrieb Thomas S. Dye: Aloha Bernd, On Nov 30, 2010, at 1:23 PM, Bernd Weiss wrote: Dear all, I would like to use R objects across/among code blocks. Therefore, I included the header argument ":session" which then produces the following results: #+BEGIN_SRC

Re: [Orgmode] [org-babel] R, :session and empty line in #+results

2010-12-01 Thread Bernd Weiss
Am 01.12.2010 10:01, schrieb Eric Schulte: Hi Bernd, I've just pushed up a change which should remove these empty lines. Just updated my org-mode repository and it works great. Thanks a lot! Bernd ___ Emacs-orgmode mailing list Please use `Reply A

[Orgmode] [Babel] R, multiple lines #+results, LaTeX-export

2010-12-02 Thread Bernd Weiss
Dear all, While working on my presentation I came across the following two issues: (1) If I execute the following code block (see "Before codeblock execution") which is followed by a headline or another codeblock, the results-block (see "After codeblock execution") interferes with the headlin

Re: [Orgmode] Re: [Babel] R, multiple lines #+results, LaTeX-export

2010-12-03 Thread Bernd Weiss
Am 03.12.2010 03:41, schrieb Sébastien Vauban: [...] I am using Org-mode version 7.3 (release_7.01h.1081.gcfd7.dirty) That sounds weird to me: version 7.3 and a 7.01 tag!? Hi Sébastien, That's what I get when I run "Show Version": release_7.01h-1081-gcfd7 Org-mode version 7.3 (release_7.0

Re: [Orgmode] [Babel] R, multiple lines #+results, LaTeX-export

2010-12-03 Thread Bernd Weiss
Am 03.12.2010 09:14, schrieb Eric Schulte: Hi Bernd, Bernd Weiss writes: [...] (2) The results-block is complex insofar as it has multiple lines. If I choose "export as LaTeX and process to PDF" (I corrected the wrong #+end_example line manually), the resulting PDF file only show

Re: [Orgmode] Re: [Babel] R, multiple lines #+results, LaTeX-export

2010-12-03 Thread Bernd Weiss
Am 03.12.2010 10:05, schrieb Nick Dokos: Bernd Weiss wrote: Am 03.12.2010 03:41, schrieb S=C3=A9bastien Vauban: [...] I am using Org-mode version 7.3 (release_7.01h.1081.gcfd7.dirty) That sounds weird to me: version 7.3 and a 7.01 tag!? Hi S=C3=A9bastien, That's what I get when

[Orgmode] [Babel] Finished my presentation on R using org-mode and Babel

2011-01-04 Thread Bernd Weiss
Dear all, I appologize for this slightly off-topic mail but I wanted to let you know that -- after asking many questions -- I finally finished my first org-mode- and Babel-based presentation. If you are interested in my slides or the source code, feel free to download it from my github reposi

[Orgmode] Custom agenda view: Select specific tag (or category) + display timestamps

2010-03-19 Thread Bernd Weiss
Dear all, I'm having trouble with agenda customization. I have a couple of entries (+ timestamp) which are tagged with 'conference' and I'd like to have a list of conferences + timestamps. (setq org-agenda-custom-commands '( ("c" "conferences"

[O] [babel] Cannot use R and sh

2011-10-20 Thread Bernd Weiss
Hi all, when using R and shell commands, the shell commands are sent to the R buffer. I guess this has something to do with the session argument?! # test.org # #+property: session *R* #+BEGIN_SRC R ## comment 1+1 #+END_SRC #+results: : 2 #+BEGIN_SRC sh ls -a

Re: [O] [babel] Cannot use R and sh

2011-10-20 Thread Bernd Weiss
On 20.10.2011 14:49, Nick Dokos wrote: [...] > AFAIK, the syntax is (note the BABEL and the :session) > > #+BABEL: :session *R* > > With that, I can certainly reproduce what you get and it > is indeed the global session that causes it. If you > want a global session for all the other code block

Re: [O] [babel] Specifying buffer-wide header arguments: #+property vs #+babel (was: Cannot use R and sh)

2011-10-20 Thread Bernd Weiss
On 20.10.2011 14:58, Bernd Weiss wrote: [...] > With respect to the "#+BABEL..." syntax, I vaguely remember that this is > deprecated. The Org Mode Manual, however, (still) mentions both ways... > <http://orgmode.org/org.html#Header-arguments-in-Org_002dmode-properties>

[Orgmode] [Babel][R] buffer-wide and code block specific use of :session

2011-02-12 Thread Bernd Weiss
Org-mode version 7.4 (release_7.4.348.g6132) Dear all, I am preparing a document which contains text and R code/output. In particular, I'd like to print out a (correlation) matrix. This is my org-mode document (I intentionally have two code blocks): #

[Orgmode] Re: [Babel][R] buffer-wide and code block specific use of :session

2011-02-12 Thread Bernd Weiss
Am 12.02.2011 13:30, schrieb Dan Davison: Bernd Weiss writes: [...] Since I have two code blocks, I need to use :session. If I define :session buffer-wide as #+BABEL: :session *R* then the matrix cormat is unknown within the second code block ("object 'cormat' not found&q

[O] Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs

2011-03-22 Thread Bernd Weiss
Dear all, I am preparing a Beamer presentation and I am having some trouble with side effects (?) due to my attempt to customize the LaTeX-export. My minimum example can be found below. The default LaTeX-export does not recognise the '\institute'-option (I mean, as far as I know). For that r

[O] Specifying \institute[short]{long] in Beamer presentations

2011-03-23 Thread Bernd Weiss
Dear all, I assume that my first email[1], which I sent yesterday, was not clear enough to draw any/enough attention. I am currently preparing a Beamer presentation and I would like to include \institute[short]{long} into my org-file; it is important that I am able to define a short and a lo

Re: [O] Specifying \institute[short]{long] in Beamer presentations

2011-03-24 Thread Bernd Weiss
Am 24.03.2011 04:59, schrieb PASZTOR Miklos: On Wed, Mar 23, 2011 at 07:18:45PM -0400, Bernd Weiss wrote: I am currently preparing a Beamer presentation and I would like to include \institute[short]{long} into my org-file; This works for me: #+BEAMER_HEADER_EXTRA: \institute{My insitute

Re: [O] Specifying \institute[short]{long] in Beamer presentations

2011-03-24 Thread Bernd Weiss
Am 23.03.2011 22:51, schrieb Suvayu Ali: On Wed, 23 Mar 2011 19:18:45 -0400 Bernd [...] I am currently preparing a Beamer presentation and I would like to include \institute[short]{long} into my org-file; it is important that I am able to define a short and a long entry for institute. How can

Re: [O] Specifying \institute[short]{long] in Beamer presentations

2011-03-24 Thread Bernd Weiss
Am 24.03.2011 05:42, schrieb Camille persson: Hi, I'm not sure but maybe you could declare it in your org file as: #+MACRO: BEAMERINSTITUTELONG My long and detailed Institute #+MACRO: BEAMERINSTITUTESHORT Short Institute And change the export code as follows: \\institute[beamerinstituteshort

Re: [O] Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs

2011-03-24 Thread Bernd Weiss
Am 24.03.2011 05:16, schrieb Eric S Fraga: Bernd Weiss writes: Dear all, I am preparing a Beamer presentation and I am having some trouble with side effects (?) due to my attempt to customize the LaTeX-export. My minimum example can be found below. The default LaTeX-export does not

[O] Referencing a footnote (LaTeX export)

2011-05-07 Thread Bernd Weiss
Hi all, This is hopefully a simple question, but I am stuck: How can I reference a footnote (see example below)? Since I am exporting my org-file to LaTeX, I am using something like \ref{???} but what can I use as footnote label? Chapter 2.10 of the manual introduces the 'named footnote ref

Re: [O] Referencing a footnote (LaTeX export)

2011-05-07 Thread Bernd Weiss
Am 07.05.2011 16:07, schrieb Matt Lundin: Bernd Weiss writes: This is hopefully a simple question, but I am stuck: How can I reference a footnote (see example below)? Since I am exporting my org-file to LaTeX, I am using something like \ref{???} but what can I use as footnote label? Chapter

[O] [bug] Symbol's function definition is void: when-let

2011-05-19 Thread Bernd Weiss
Hi all, after updating to the most recent version of org-mode, I cannot longer export to LaTeX/PDF. It stops with "Symbol's function definition is void: when-let", i.e. Fontifying org-src-fontification:emacs-lisp-mode... (regexps...) Symbol's function definition is void: when-let Ev

Re: [O] [bug] Symbol's function definition is void: when-let

2011-05-19 Thread Bernd Weiss
Am 19.05.2011 13:06, schrieb Eric Schulte: > Oh! > > My fault, `when-let' is defined locally on my Emacs, but apparently is > not an official Emacs function, careless committing on my part. > > I've just pushed up a fix. Thanks for fixing that! Everything works fine now! Bernd

[O] [babel] Maxima code blocks do not work

2011-06-24 Thread Bernd Weiss
Dear all, The follwing Maxima code block does not work: #+begin_src maxima 1+1; #+end_src #+results: #+begin_example incorrect syntax: / is not a prefix operator incorrect syntax: GuM is not an infix operator parser: incomplete number; missing exponent? -- an error. To debug this try: debugmode

Re: [O] [babel] Maxima code blocks do not work

2011-06-27 Thread Bernd Weiss
Am 27.06.2011 04:34, schrieb Eric S Fraga: > Bernd Weiss writes: > >> Dear all, >> >> The follwing Maxima code block does not work: >> >> #+begin_src maxima >> 1+1; >> #+end_src >> #+results: >> #+begin_example >> incorrect syn

Re: [O] [babel] Maxima code blocks do not work

2011-06-27 Thread Bernd Weiss
Am 27.06.2011 10:32, schrieb Eric S Fraga: > Bernd Weiss writes: > > [...] > >> #+results: >> : incorrect syntax: / is not a prefix operator >> : incorrect syntax: aLH is not an infix operator >> : incorrect syntax: hCp is not an infix operator >> :

[O] Export properties as (csv) table

2012-09-04 Thread Bernd Weiss
Dear all, Let's say I have the following entries and their associated properties. Is there an easy way to export these information as csv formated table? * Marc, Mart :Mart_Marc:: :PROPERTIES: :name: Marc, Mart :typ: diss :empirisch: ja

Re: [O] Export properties as (csv) table

2012-09-04 Thread Bernd Weiss
On 04.09.2012 21:26, Nick Dokos wrote: [...] Perhaps a combination of a columnview dblock[fn:1] to produce a table and then a radio table with a translation function[fn:2]: [...] Thanks, Nick! Works like a charm! Bernd

[O] Running "org-babel-tangle" and/or "org-export-as-pdf" in Emacs batch mode

2012-04-10 Thread Bernd Weiss
Dear all, I am not sure if this an orgmode-, an ESS- or an Emacs-related question. I am working on an orgmode-file with embedded R code. Since I am using a build tool called waf, I would like to call Emacs from command line like this: emacs --batch --load "e:/config/.emacs" --visit test.org --fu

Re: [O] Running "org-babel-tangle" and/or "org-export-as-pdf" in Emacs batch mode

2012-04-12 Thread Bernd Weiss
On 11.04.2012 16:14, Eric Schulte wrote: [...] > Hi Bernd, > > I can't recreate this hanging issue locally (I don't have access to a > windows box). This sounds like an ESS issue to me since ESS seems to be > the hanging process. Perhaps a good first step would be to try to > evaluate "(requir