Commit Graph

275 Commits

Author SHA1 Message Date
Eric Schulte f27741e468 now results of shell commands are also converted into tables when appropriate 2009-04-05 10:11:31 -07:00
Eric Schulte 9bfd6e0a80 now when R blocks return trivial vectors they are converted into scalars
Apparently there are no scalars values in R, scalars are packaged into
vectors, which would result in many single element tables

| scalar |

if we just dropped them straight to emacs-lisp without this conversion
2009-04-05 09:46:11 -07:00
Eric Schulte 834dd2908f R source blocks can now read in variables from org-mode tables, and insert results as org tables 2009-04-04 16:24:06 -07:00
Eric Schulte f8d76eb030 org-R-to-elisp is working
it is now able to
1) write the R function to a tab separated table
2) read that table into elisp and return
3) clean up after itself
2009-04-04 16:24:05 -07:00
Eric Schulte 0075a4060a now ignoring 'data' file often written out by R 2009-04-04 16:24:04 -07:00
Eric Schulte a9bb21865d more opining about R tables 2009-04-04 16:24:04 -07:00
Eric Schulte 3e403fc9bb R support partially working assigning variables from R
still need to figure out how to deal with R tables
2009-04-04 16:24:03 -07:00
Eric Schulte 0e29fb3601 now assigning variables from source-code blocks in multiple languages
Currently ruby, python, and emacs-lisp are working; still need to work
on shells and R.
2009-04-02 20:02:56 -07:00
Eric Schulte 77c33de593 now able to assign variables from emacs-lisp source blocks 2009-04-02 17:59:55 -07:00
Eric Schulte 91dea38923 adding TODOs to rorg.org 2009-04-01 15:59:33 -07:00
Eric Schulte 3657836968 added optional insertion of results...
from the description of litorgy-insert-result:

   Insert RESULT into the current buffer after the end of the
current source block.  With optional argument INSERT controls
insertion of results in the org-mode file.  INSERT can take the
following values...

t ------ the default options, simply insert the results after the
         source block

replace - insert results after the source block replacing any
          previously inserted results

silent -- no results are inserted
2009-04-01 15:46:55 -07:00
Eric Schulte e770100002 replaced support for shells 2009-03-31 16:11:41 -07:00
Eric Schulte f20d7e54a5 removing debug message from litorgy-script.el 2009-03-31 16:11:41 -07:00
Eric Schulte 0ca4b60bb6 minor updates to rorg.org
fleshing out TODOs
2009-03-31 16:11:40 -07:00
Dan Davison 15741e1e69 minor edits to rorg.org 2009-03-31 14:54:19 -04:00
Dan Davison 1896489b6a moved active parts of rorg.org to top, and added bugs section 2009-03-31 10:24:15 -04:00
Dan Davison d8f8161be5 TODO item: evaluation as background process? 2009-03-31 09:51:27 -04:00
Dan Davison d14690e4cf Merge branch 'master' of git@github.com:eschulte/rorg 2009-03-31 09:49:11 -04:00
Eric Schulte fc21c4b559 adding support for R source code blocks 2009-03-29 15:09:06 -07:00
Eric Schulte 01401748e4 cleanup and small misc re-organizations 2009-03-29 15:08:53 -07:00
Eric Schulte d1230c6ea5 litorgy-script is now functional and plays nice w/matrix output
- litorgy-script no longer handles shell scripts
 - litorgy-script now inserts the *return value* of the source block,
    rather than inserting what was printed to STDOUT
 - now able to handle table output from ruby and python source blocks
2009-03-28 19:38:45 -07:00
Eric Schulte c814a9f3e8 table assignment now working for ruby and python 2009-03-28 14:49:08 -07:00
Eric Schulte 5805507dc3 currently not even trying to find the table if it's in another file
(but this probably wouldn't be too much work)
2009-03-28 14:25:26 -07:00
Dan Davison 17a1d71e6a Merge branch 'master' of git@github.com:eschulte/rorg 2009-03-26 11:01:46 -04:00
Eric Schulte 9b2e4f2257 result insertion is now working for lists and non-lists 2009-03-25 22:02:50 -07:00
Eric Schulte c40217b5f0 now replace works for table results as well as string results 2009-03-25 16:43:46 -07:00
Eric Schulte b9dc839e33 added demonstration of the reading/writing of tables to rorg.org 2009-03-25 16:22:27 -07:00
Eric Schulte 4852d8b194 now quoting all non-list output 2009-03-25 16:22:07 -07:00
Eric Schulte 4385611ebf Now accepting vector results from source blocks, and inserting into org file as tables. 2009-03-25 16:16:03 -07:00
Eric Schulte be826b2d68 replaced `litorgy-examplize-region' as `org-toggle-fixed-width-section' was causing problems 2009-03-25 15:55:56 -07:00
Eric Schulte 01c958f167 pushed the parsing of org tables fully into litorgy-reference.el
This had the benefit of removing the wrapping list which was
previously erroneously added.
2009-03-25 15:24:00 -07:00
Eric Schulte c294d0119d Now able to reference a table from an emacs-lisp src block.
Currently the only reference which is working is previous.

For an example try

: | 0.16 | eric | 0.12 |
: | 0.24 | 0.28 | 0.08 |
:
: #+begin_src emacs-lisp :var table=previous
: table
: #+end_src
2009-03-25 15:16:37 -07:00
Eric Schulte 561c8b64c3 added litorgy-R to init file 2009-03-25 14:43:38 -07:00
Eric Schulte b809734a47 added initialization file which can be used to load litorgy 2009-03-25 14:43:11 -07:00
Eric Schulte da6ab1279e added stub of the file which will provide R support 2009-03-25 14:42:57 -07:00
Dan Davison 080a1634d7 Merge branch 'master' of git@github.com:eschulte/rorg 2009-03-23 23:42:17 -04:00
Eric Schulte 74498d6055 thinking about and stubbing out functions for referencing external resources 2009-03-23 17:01:11 -07:00
Eric Schulte a95cf1c442 stubbing out a file to hold functions for referencing data from header
arguments of source blocks
2009-03-23 16:29:31 -07:00
Eric Schulte 63839f7c50 adding support for emacs-lisp blocks 2009-03-23 16:07:02 -07:00
Eric Schulte 6cf9c4e497 replacing litorgy-make-region-example with the standard org-toggle-fixed-width-section. 2009-03-17 14:44:50 -07:00
Dan Davison 78c3dc7fb1 Merge branch 'master' of git@github.com:eschulte/rorg 2009-03-05 11:17:09 +00:00
Dan Davison aae046e55e minor edits, starting to add litorgy-R tasks as they crop up during use 2009-03-05 11:16:45 +00:00
Eric Schulte 47e18380e9 getting too excited and thinking about distributed computing 2009-03-04 18:14:42 -08:00
Eric Schulte 2f12591e5a adding thoughts about referencing data to rorg.org, see
**** Eric: referencing data in general
2009-03-04 17:22:28 -08:00
Eric Schulte e292e34041 minor additions to rorg.org 2009-02-23 17:58:18 -08:00
Eric Schulte f8c437e5c3 ensuring return to current buffer when executing R code 2009-02-23 17:52:18 -08:00
Eric Schulte 488fa39b27 ensure inserted results end in a newline 2009-02-23 17:49:51 -08:00
Eric Schulte 761994643d litorgy R support (cleaning out defunct region commands) 2009-02-23 16:08:17 -08:00
Eric Schulte 715998c107 adding R support for litorgy 2009-02-23 16:08:16 -08:00
Eric Schulte a942f75543 adding thoughts about free, explicit, independent variables 2009-02-23 15:15:23 -08:00