From: Eric Schulte <eric.schulte@gmx.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: Achim Gratz <Stromeko@nexgo.de>,
nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: R and babel on Windows problem
Date: Fri, 06 Jul 2012 12:41:08 -0600 [thread overview]
Message-ID: <87ipe091h7.fsf@gmx.com> (raw)
In-Reply-To: <CA+M2ft-HbzS8Ti-_iAL0QN+htwDZtNHAfxnj0y5_=n75QvZf1w@mail.gmail.com> (John Hendy's message of "Fri, 6 Jul 2012 12:46:44 -0500")
>
> Update: I'm on 64bit and just now realized there's another set of R
> cmds in ../R-2.15.0/bin/x64/. This is what I needed.
>
> Now my problem is that using R along doesn't produce any output. With
> the above modification, I get:
>
> ,---
> | Fatal error: you must specify '--save', '--no-save' or '--vanilla'
> `---
>
> I'm quite close! If I add --no-save, I get exported results but they
> include all of the R preamble text from when it starts. Here's my
> block for reference:
>
> #+begin_src R :results output org :exports results
>
> x <- c(1:10)
> summary(x)
>
> #+end_src
>
The default value for org-babel-R-command is "R --slave --no-save", so
maybe adding the "--slave" option to your command will remove the R
preamble text.
As for your path problems, the "~" looks like a likely culprit. The
command is passed to an equivalent of the `shell-command-on-region'
function, which then uses a shell to run the command. Maybe the shell
it uses can't handle the tilde?
Best,
p.s., I'm jumping into this thread part way through and didn't read all
of the back-log, so I apologize if I'm repeating previous advice.
--
Eric Schulte
http://cs.unm.edu/~eschulte
next prev parent reply other threads:[~2012-07-06 18:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 17:46 R and babel on Windows problem John Hendy
2012-06-29 14:59 ` Alexander Vorobiev
2012-06-29 15:24 ` John Hendy
2012-06-29 17:12 ` Alexander Vorobiev
2012-06-29 18:26 ` Achim Gratz
2012-06-29 19:31 ` John Hendy
2012-06-29 19:37 ` Nick Dokos
2012-06-29 20:00 ` John Hendy
2012-06-29 20:16 ` Nick Dokos
2012-07-02 20:15 ` John Hendy
2012-07-02 21:26 ` Nick Dokos
2012-07-02 21:47 ` John Hendy
2012-07-02 22:15 ` Nick Dokos
2012-07-02 22:16 ` John Hendy
2012-07-06 16:58 ` John Hendy
2012-07-06 17:12 ` Nick Dokos
2012-07-06 17:46 ` John Hendy
2012-07-06 18:41 ` Eric Schulte [this message]
2012-07-06 22:05 ` John Hendy
2012-07-06 18:45 ` Nick Dokos
2012-07-06 22:08 ` John Hendy
2012-07-06 22:14 ` John Hendy
2012-07-07 1:02 ` Eric Schulte
2012-07-07 1:48 ` Nick Dokos
2012-07-16 0:42 ` John Hendy
2012-06-30 5:13 ` Achim Gratz
2012-06-30 13:15 ` Eric Schulte
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=87ipe091h7.fsf@gmx.com \
--to=eric.schulte@gmx.com \
--cc=Stromeko@nexgo.de \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
--cc=nicholas.dokos@hp.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).