emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how do scientists use org mode?


From: Christopher W. Ryan
Subject: Re: [O] how do scientists use org mode?
Date: Thu, 02 Feb 2012 12:19:41 -0500
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0.1) Gecko/20111121 Firefox/8.0.1 SeaMonkey/2.5

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 via email to

[Prev in Thread] Current Thread [Next in Thread]