From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: getting directory of org installation in elisp Date: Fri, 23 May 2014 15:28:38 +0200 Message-ID: <87egzk7hdr.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnpXi-0006Dw-Ld for emacs-orgmode@gnu.org; Fri, 23 May 2014 09:29:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnpXb-0002eO-Cc for emacs-orgmode@gnu.org; Fri, 23 May 2014 09:29:50 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:49153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnpXb-0002e9-5o for emacs-orgmode@gnu.org; Fri, 23 May 2014 09:29:43 -0400 Received: by mail-wg0-f46.google.com with SMTP id n12so4849159wgh.5 for ; Fri, 23 May 2014 06:29:42 -0700 (PDT) In-Reply-To: (Rainer M. Krug's message of "Fri, 23 May 2014 10:15:35 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode@gnu.org Hi Rainer, Rainer M Krug writes: > I want to load some R code into org when using R with org (i.e. in > ob-R.el) which would be part of org mode. Therefore I have two > questions: I'm not sure I understand: why do you need to put R code in an external file? For testing purpose? > 1) Where can I put the R code? My idea would be to put it in > ORGDIR/etc/R/ - would this be OK with the general philosophy of directory > structures? > > 2) How can I get the ORGDIR under elisp, so that I can use it to load > From ORGDIR/R/*.R ? I can't parse this too :) If that helps, please send a patch with what you would do, and we'll discuss from the patch. Thanks, -- Bastien