emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Christopher W. Ryan" <cryan@binghamton.edu>
To: emacs-orgmode@gnu.org
Subject: Re: how do scientists use org mode?
Date: Thu, 02 Feb 2012 12:19:41 -0500	[thread overview]
Message-ID: <4F2AC5AD.5090109@binghamton.edu> (raw)
In-Reply-To: <m18vkn8wbg.fsf@tsdye.com>

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?

Thanks.

--Chris Ryan

  reply	other threads:[~2012-02-02 17:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26 21:21 how do scientists use org mode? GMX Christoph 13
2012-01-27  1:35 ` Thomas S. Dye
2012-01-27 17:07 ` Eric S Fraga
2012-01-27 18:27 ` John Hendy
2012-01-28 17:39   ` Tomas Grigera
2012-01-30 17:37     ` Christopher W. Ryan
2012-01-30 19:51       ` cberry
2012-01-31 19:20         ` Christopher W Ryan
2012-01-31 20:13           ` Thomas S. Dye
2012-02-02 17:19             ` Christopher W. Ryan [this message]
2012-01-31 19:58       ` Simon Thum
2012-02-02  4:25         ` Christopher W. Ryan
2012-02-02  5:10           ` Nick Dokos
2012-01-28 15:38 ` Bodhi
2012-02-01  8:41 ` Sven Bretfeld
  -- strict thread matches above, loose matches on Subject: below --
2012-02-03 21:06 GMX Christoph 13

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=4F2AC5AD.5090109@binghamton.edu \
    --to=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).