emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernd Weiss <bernd.weiss@uni-koeln.de>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Running "org-babel-tangle" and/or "org-export-as-pdf" in Emacs batch mode
Date: Thu, 12 Apr 2012 17:45:32 +0200	[thread overview]
Message-ID: <4F86F89C.3090508@uni-koeln.de> (raw)
In-Reply-To: <87y5q2ux14.fsf@gmx.com>

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

      reply	other threads:[~2012-04-12 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 13:20 Running "org-babel-tangle" and/or "org-export-as-pdf" in Emacs batch mode Bernd Weiss
2012-04-11 14:14 ` Eric Schulte
2012-04-12 15:45   ` Bernd Weiss [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F86F89C.3090508@uni-koeln.de \
    --to=bernd.weiss@uni-koeln.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.schulte@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).