From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Choens Subject: Reproducible Research Template Date: Tue, 04 Jan 2011 14:55:27 -0500 Message-ID: <1294170927.2599.110.camel@Yates> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0109224704==" Return-path: Received: from [140.186.70.92] (port=55855 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaCyl-0000MX-D4 for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 14:55:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaCyi-0000cK-BS for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 14:55:33 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:52323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaCyi-0000c1-8w for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 14:55:32 -0500 Received: by qwa26 with SMTP id 26so14542251qwa.0 for ; Tue, 04 Jan 2011 11:55:31 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode ml --===============0109224704== Content-Type: multipart/alternative; boundary="=-CIr4E+2ks0RAx6LdnkPb" --=-CIr4E+2ks0RAx6LdnkPb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit I am developing a reproducible research template for R. I am trying to implement most of a research "compendium" in org. I say "most" because I am going to allow the actual data to exist outside of org, simply because most of the data I work with is relational or very large, which makes storage in plain text problematic or impossible. Has anyone ever implemented a reproducible research template in org that I can look at? I looked at the stuff on Worg and there are examples of a project, but not a template. In a nutshell, I am trying to do two things. 1) Provide a structure for reproducible research / programming ; 2) Provide a small set of helper functions. But, I don't want the helper functions to get in the way. I have considered two options: 1) Store the example code / template stuff in subheadings 2) Store the example code / template stuff in an external file. Using subheadings is tempting, but I'm afraid that org-babel-execute-buffer would cause problems for users who don't use all of the template functions. Using an external file, similar to the Lobrary of Babel is also tempting. It would allow me to make a cleaner template for structure and still allow users to access any helper functions. Is there a way to link to an external file, other than the Library of Babel? If so, how do I do this? Does anyone have any opinions about hiding/linking/importing example code in a template? I certainly appreciate any thoughts. --andy --=-CIr4E+2ks0RAx6LdnkPb Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit I am developing a reproducible research template for R. I am trying to implement most of a research "compendium" in org. I say "most" because I am going to allow the actual data to exist outside of org, simply because most of the data I work with is relational or very large, which makes storage in plain text problematic or impossible.

Has anyone ever implemented a reproducible research template in org that I can look at? I looked at the stuff on Worg and there are examples of a project, but not a template.

In a nutshell, I am trying to do two things.
    1) Provide a structure for reproducible research / programming ;
    2) Provide a small set of helper functions.

But, I don't want the helper functions to get in the way. I have considered two options:
    1) Store the example code / template stuff in subheadings
    2) Store the example code / template stuff in an external file. 

Using subheadings is tempting, but I'm afraid that org-babel-execute-buffer would cause problems for users who don't use all of the template functions.

Using an external file, similar to the Lobrary of Babel is also tempting. It would allow me to make a cleaner template for structure and still allow users to access any helper functions. Is there a way to link to an external file, other than the Library of Babel? If so, how do I do this?

Does anyone have any opinions about hiding/linking/importing example code in a template?

I certainly appreciate any thoughts.

--andy --=-CIr4E+2ks0RAx6LdnkPb-- --===============0109224704== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0109224704==--