Re: [O] input data for babel blocks

2013-10-01 Thread Thomas S. Dye
Hi Chuck, Neat. Thanks for sharing. All the best, Tom Charles Berry writes: > Alan Schmitt polytechnique.org> writes: > >> >> Hi Charles, >> >> ccberry ucsd.edu writes: >> >> > Lacking that, another alternative to the approach you have crafted is to >> > use elisp src blocks to set up the

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
ccbe...@ucsd.edu writes: > Here is what I use for LaTeX thru elisp to R: Thanks, this is quite enlightening. Alan

Re: [O] input data for babel blocks

2013-10-01 Thread Charles Berry
Alan Schmitt polytechnique.org> writes: > > Hi Charles, > > ccberry ucsd.edu writes: > > > Lacking that, another alternative to the approach you have crafted is to > > use elisp src blocks to set up the commands needed to create the > > objects, > > and then place the results of executing th

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
r...@rickster.com writes: > You're close. The noweb ref should be a named src block which is > executed, not expanded, so, (note the named shell source block and the > parens in the noweb reference): > > #+name: testing > #+BEGIN_SRC sh :results raw > echo "[" > ls *.org | sed 's/$/;/' > echo "]"

Re: [O] input data for babel blocks

2013-10-01 Thread Rick Frankel
On 2013-10-01 09:01, Alan Schmitt wrote: I'm sorry, I don't see the answer to this above. The only example I could find in the manual is this one http://orgmode.org/manual/noweb_002dref.html#noweb_002dref which does not address using noweb with different languages. I did some experiments and I'm

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
Hi Eric, schulte.e...@gmail.com writes: >> What I don't understand is: >> - how to define this function; > > It is not a function name, it is a code block name. See the noweb > section of the Org-mode manual for more information. OK. >> - will it be evaluated as a "mylang" function or as a fun

Re: [O] input data for babel blocks

2013-10-01 Thread Eric Schulte
Alan Schmitt writes: > Hi Charles, > > ccbe...@ucsd.edu writes: > >> Lacking that, another alternative to the approach you have crafted is to >> use elisp src blocks to set up the commands needed to create the objects, >> and then place the results of executing the elisp src block in the src >> b

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
Hi Eric, schulte.e...@gmail.com writes: >> - would the patch above be a useful way to deal with this? > > My problem with the patch above is that it makes OCaml different from > every other language (especially ob-haskell which has similar type > restraints), and that it doesn't work for tables w

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
Hi Charles, ccbe...@ucsd.edu writes: > Lacking that, another alternative to the approach you have crafted is to > use elisp src blocks to set up the commands needed to create the objects, > and then place the results of executing the elisp src block in the src > block of your favored language usi

Re: [O] input data for babel blocks

2013-09-30 Thread Eric Schulte
Alan Schmitt writes: > Hello, > > In my quest for analyzing my data in org mode tables, I'm trying to see > if I can use my favorite language (i.e., ocaml). I'm thus looking at how > to input such tables in a caml program. I found that the following works > well: > > --8<---cut here--

Re: [O] input data for babel blocks

2013-09-30 Thread Eric Schulte
Charles Berry writes: > Alan Schmitt polytechnique.org> writes: > >> >> Hello, >> >> In my quest for analyzing my data in org mode tables, I'm trying to see >> if I can use my favorite language (i.e., ocaml). I'm thus looking at how > > [discussion of revising org-babel-variable-assignments: d

Re: [O] input data for babel blocks

2013-09-30 Thread Charles Berry
Alan Schmitt polytechnique.org> writes: > > Hello, > > In my quest for analyzing my data in org mode tables, I'm trying to see > if I can use my favorite language (i.e., ocaml). I'm thus looking at how [discussion of revising org-babel-variable-assignments: deleted] > > I have the following