From: John Hendy <jw.hendy@gmail.com>
To: "Christopher W. Ryan" <cryan@binghamton.edu>
Cc: emacs-orgmode@gnu.org
Subject: Babel problem (was how do scientists use org mode?)
Date: Thu, 2 Feb 2012 11:27:54 -0600 [thread overview]
Message-ID: <CA+M2ft-9-SZWAADxH_BBWRDhbsVVXAMOc3HAX=1i=cctZ+K5aQ@mail.gmail.com> (raw)
Hi Chris; this digressed enough into a babel problem that I started a
new subject for the list.
On Thu, Feb 2, 2012 at 11:19 AM, Christopher W. Ryan
<cryan@binghamton.edu> wrote:
> Just tried a similar thing on my computer at work: WinXP, emacs-22.3.1,
> org-mode 7.7. I tried both R and python. With this in my .emacs file:
>
> ;; active Babel languages
> (org-babel-do-load-languages
> 'org-babel-load-languages
> '((R . t)
> (python . t)
> ))
>
> Here are the contents of the org file I am playing with:
>
> #+begin_src R
> rnorm(10)
> #+end_src
>
> #+begin_src python
> print "Hello, World!"
> #+end_src
>
>
> C-c C-c the first block results in a message like this:
>
> Evaluate this R code block on your system? (yes or no)
>
> Answering yes yields:
>
> No org-babel-execute function for R!
>
> Trying the same in the python block yields the same results, except with
> "python" substituted for "R" in all the messages.
>
> Any suggestions where I am going wrong?
Silly question... do you have both R and python installed on your
computer? Perhaps provide the paths of your R and python executable
files. Win settings can be tricky sometimes. Another question would
be, how do you typically use R and python directly?
John
>
> Thanks.
>
> --Chris Ryan
>
next reply other threads:[~2012-02-02 17:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-02 17:27 John Hendy [this message]
2012-02-02 18:59 ` Babel problem (was how do scientists use org mode?) Christopher W. Ryan
2012-02-02 20:12 ` Nick Dokos
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='CA+M2ft-9-SZWAADxH_BBWRDhbsVVXAMOc3HAX=1i=cctZ+K5aQ@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=cryan@binghamton.edu \
--cc=emacs-orgmode@gnu.org \
/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).