[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Enabling another language in org-babel
From: |
Bastien |
Subject: |
Re: [O] Enabling another language in org-babel |
Date: |
Tue, 29 Jul 2014 16:36:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Hi Ista,
some comments on the code below.
Ista Zahn <address@hidden> writes:
> ;; Copyright (C) 2014 Ista Zahn
> ;; Author: Ista Zahn, based on ob-julia.el by G. Jay Kerns, and ob-R.el
> ;; by Eric Schulte and Dan Davison
You need to reformat this -- see files with multiple authors in Org or
in Emacs.
> ;; This file is not part of GNU Emacs.
We plan to add this to Org's core, so this will be part of Emacs.
> ;; Stata and ESS are required.
Maybe add some links for the requirements.
> (defcustom org-babel-stata-command inferior-STA-program-name
> "Name of command to use for executing stata code."
> :group 'org-babel
> :version "24.4"
> :package-version '(Org . "8.0")
^^^
This needs to be 8.3
> ;; The following was a very complicated write object command
> ;; The replacement needs to add error catching
> ;(defvar org-babel-stata-write-object-command
> "{function(object,transfer.file){object;invisible(if(inherits(try({tfile<-tempfile();write.table(object,file=tfile,sep=\"\\t\",na=\"nil\",row.names=%s,col.names=%s,quote=FALSE);file.rename(tfile,transfer.file)},silent=TRUE),\"try-error\")){if(!file.exists(transfer.file))file.create(transfer.file)})}}(object=%s,transfer.file=\"%s\")")
Maybe simply remove this, or make it more readable.
Thanks in advance for this contribution!
--
Bastien
- Re: [O] Enabling another language in org-babel, Bastien, 2014/07/28
- Re: [O] Enabling another language in org-babel, Ista Zahn, 2014/07/28
- Re: [O] Enabling another language in org-babel,
Bastien <=
- Re: [O] Enabling another language in org-babel, Ista Zahn, 2014/07/30
- Re: [O] Enabling another language in org-babel, Nick Dokos, 2014/07/30
- Re: [O] Enabling another language in org-babel, Achim Gratz, 2014/07/30
- Re: [O] Enabling another language in org-babel, Jay Kerns, 2014/07/31
- Re: [O] Enabling another language in org-babel, Bastien, 2014/07/31
- Re: [O] Enabling another language in org-babel, Ista Zahn, 2014/07/31