From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: getting directory of org installation in elisp Date: Fri, 23 May 2014 10:15:35 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnkdq-0002aB-LD for emacs-orgmode@gnu.org; Fri, 23 May 2014 04:15:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wnkdk-0007mO-6v for emacs-orgmode@gnu.org; Fri, 23 May 2014 04:15:50 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:57666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnkdk-0007mJ-0E for emacs-orgmode@gnu.org; Fri, 23 May 2014 04:15:44 -0400 Received: by mail-wg0-f48.google.com with SMTP id k14so234161wgh.31 for ; Fri, 23 May 2014 01:15:43 -0700 (PDT) Received: from Rainers-MacBook-Pro-3.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id h19sm1607679wiw.17.2014.05.23.01.15.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 01:15:41 -0700 (PDT) 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi 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: 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=20ORGDIR/R/*.R ? Thanks, Rainer =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJTfwOrAAoJENvXNx4PUvmC8iEIAOVRD87Wx/Ed0F18QWpxQ3gv JeEef8kuiSfW9acmW0QS1MnGDCvJikv+k4hWzNvp+Bk3ni+823/dR064y5taVNG7 9dTTC3Tv6fCaN8SWkAomqp31l1gmO7ZKXXVlw0z7gpd86yHxTotLyAXRoRk2837k NpBsOy6Y0ToeS1D/igjWiwsTktLkXb/wG2A14rsucYS/gUTkbZqzvpwnKtLHsftU xuVRQg2HkWGxBwApyqhNrlMPPGuY6bdYzI9VFmt7snV8Io2y4Dft+8j30/txs79k /QZho2sr47kofv1LDDVfPfFttGEptd6EOVSGCml27i2lQ9FSo2/CWGifFljXtI8= =r4d9 -----END PGP SIGNATURE----- --=-=-=--