Eric Brown <br...@fastmail.fm> writes: > 2) Grant, I tried your code, but there seem to be some missing headers. > Do you have a complete minimal example that exhibits the behavior that > you have demonstrated?
Add :noweb yes. Also Grant seems to have gone non-standard and replaced the <<noweb>> markup with guillemots. Using the default markers, it should read: --8<---------------cut here---------------start------------->8--- #+name: query #+begin_src sql select * from table where x > 10 #+end_src #+begin_src R :noweb yes :tangle output.R input <- ' <<query>> ' #+end_src ## ✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂ produces this ## ✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂ input <- ' select * from table where x > 10 ' --8<---------------cut here---------------end--------------->8--- Nick