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


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to