[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Running "org-babel-tangle" and/or "org-export-as-pdf" in Emacs b
From: |
Bernd Weiss |
Subject: |
Re: [O] Running "org-babel-tangle" and/or "org-export-as-pdf" in Emacs batch mode |
Date: |
Thu, 12 Apr 2012 17:45:32 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
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 "(require 'ess) (R)" in a batch Emacs session without Emacs
> hanging. Once this is working then it should be clear how to run ESS
> sessions from code blocks.
>
Eric,
Thanks for your answer!
I am not sure if you had the following in mind but it again causes Emacs
to hang:
emacs -batch -l e:/config/.emacs --visit test.R --eval="(progn (require
'ess) (R) (ess-eval-buffer))"
This is test.R
---- test.R ------------------
pdf("testplot.pdf")
hist(rnorm(100))
dev.off()
---- test.R ------------------
I wrote another email to the ESS list, which is currently awaiting
moderator approval.
However, I am still wondering that I seem to be the first person to
stumble upon this problem...
Thanks,
Bernd