Re: org-in-org

2021-03-08 Thread Greg Minshall
Chuck, > I admit to being baffled by this. > > If you have nested org src blocks and you recursively enter each org > block using `org-edit-special' and execute the src blocks other than > org lang, then exit with `org-edit-src-exit', when you complete this > the org buffer will have nested src b

Re: org-in-org

2021-03-08 Thread Berry, Charles
Greg, > On Mar 7, 2021, at 11:44 PM, Greg Minshall wrote: > > i guess when i used the term "recursive execute function" (i tend to > confuse "execute" and "export"), i was thinking of something like: when > i export an org file, and it runs into an org-in-org block to export, > then your code ru

Re: org-in-org

2021-03-07 Thread Greg Minshall
Charles, thanks. ah, i apologize -- i missed the elisp content of your earlier message. yes, that, at least for this simple case, does exactly what i was looking for! i guess when i used the term "recursive execute function" (i tend to confuse "execute" and "export"), i was thinking of something

Re: org-in-org

2021-03-07 Thread Berry, Charles
> On Mar 7, 2021, at 8:14 AM, Greg Minshall wrote: > > Charles, > > thanks. any thing you'd like to add to the R-via-ESS/org-mode > repository, that would be great. > > in general, afaik, the contents of org-in-org buffers export okay. at > least plain ones. would could like to have the e

Re: org-in-org

2021-03-07 Thread Greg Minshall
Charles, thanks. any thing you'd like to add to the R-via-ESS/org-mode repository, that would be great. in general, afaik, the contents of org-in-org buffers export okay. at least plain ones. would could like to have the embedded code blocks go through some pretty-printer, but currently i don'

Re: org-in-org

2021-03-07 Thread Greg Minshall
Jeremie, thanks for this. > A possible solution might be this one > #+NAME: readdata-code > #+BEGIN_SRC org > ,#+NAME: readdata-code > ,#+BEGIN_SRC R :results value silent > > read.data("datafile1.csv",sep=3D",",header=3DT)->mydata1 > > > ,#+END_SRC > #+END_SRC iiuc, this will embed t

Re: org-in-org

2021-03-07 Thread Greg Minshall
Erik, > I am not sure if this would be useful to your efforts, but I have an "R in > org-mode" tutorial on github: > https://github.com/erikriverson/org-mode-R-tutorial thanks. that gives me a model to look at in terms of structure and content. Greg

Re: org-in-org

2021-02-23 Thread Jeremie Juste
Hello Greg, Many thanks for the effort. A possible solution might be this one #+NAME: readdata-code #+BEGIN_SRC org ,#+NAME: readdata-code ,#+BEGIN_SRC R :results value silent read.data("datafile1.csv",sep=",",header=T)->mydata1 ,#+END_SRC #+END_SRC credit goes to https://raw.githu

Re: org-in-org

2021-02-23 Thread Erik Iverson
Hi Greg! I am not sure if this would be useful to your efforts, but I have an "R in org-mode" tutorial on github: https://github.com/erikriverson/org-mode-R-tutorial Apparently it is now 10 years old somehow, time flies. Best, --Erik On Tue, Feb 23, 2021 at 6:25 AM Greg Minshall wrote: > i

Re: org-in-org

2021-02-23 Thread Berry, Charles
Greg, See inline > On Feb 23, 2021, at 6:24 AM, Greg Minshall wrote: > > i have a question about org-in-org source blocks. i volunteered to help > in an effort to provide a tutorial of using the ESS (Emacs Speaks > Statistics) package for R, in particular, from org mode. > > i'd like to writ