Re: [Orgmode] [babel] noweb for :sessions?

2009-10-19 Thread Thomas S. Dye
Hi Eric, Yes, I think that's it. I appreciate your help. org-babel has me feeling like a kid at Christmas. Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com On Oct 19, 2009, at 8:15 AM, Eric Schulte wrote:

Re: [Orgmode] [babel] noweb for :sessions?

2009-10-19 Thread Eric Schulte
Hi Tom, That is an interesting proposal, and surprisingly simple to implement. Please pull the latest version of Org-mode, and you will find that there is now a :noweb header argument available for source-code blocks which has the effect of expanding noweb references before source-block evaluation

[Orgmode] [babel] noweb for :sessions?

2009-10-19 Thread Thomas S. Dye
Aloha all, Is it possible to define frequently used code snippets in a generic way so they can be used in different sessions? Something like this is what I have in mind: #+srcname: r-connect #+begin_src R :exports none :session any library(rMySQL) con <- dbConnect(MySQL(), user="user_name",