emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [babel] :noweb and R


From: Thomas S. Dye
Subject: [Orgmode] [babel] :noweb and R
Date: Mon, 19 Oct 2009 16:24:03 -1000

Hi Eric,

The :noweb argument works for me with python, but not with R.

This works fine:

#+srcname: noweb-example
#+begin_src python
 a = 28
 a
#+end_src

#+resname: noweb-example
: 28


#+begin_src python :noweb
 # <<noweb-example>>
 a + 4
#+end_src

#+resname:
: 32

This throws an error in the 2nd block "funcall: Symbol's function definition is void: R-mode":

#+srcname: noweb-example
#+begin_src R
 a <- 28
 a
#+end_src

#+resname: noweb-example
: 28



#+begin_src R :noweb
 # <<noweb-example>>
 b <- a + 4
 b
#+end_src

The first block works fine for R.

Tom


Thomas S. Dye, Ph.D.

T. S. Dye & Colleagues, Archaeologists, Inc.

Phone: (808) 529-0866 Fax: (808) 529-0884

http://www.tsdye.com




reply via email to

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