Matthew Landis <lan...@isciences.com> wrote: > On 3/1/2012 12:47 AM, Nick Dokos wrote: > > Matthew Landis<lan...@isciences.com> wrote: > > > >> Hello orgmode fans, > >> > >> Another issue with org and R giving me headaches tonight. > >> > >> In the example below, using the :session header argument seems to cause > >> problems with export to html. On export, the *R* buffer is > >> opened up, but no file is created. in the *Messages* buffer, I see > >> > >> org-export-blocks-preprocess: Marker does not point anywhere > >> > >> however, if I try to export again, with the *R* buffer already open, > >> then things work fine. This is an OK work around I guess, but I > >> thought someone ought to know about it. > >> > >> Session info: > >> Windows 7, 64 bit. > >> Emacs version: GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) of 2012-02-04 > >> on MARVIN > >> Org mode version 7.8.03 > >> ESS version 5.14 > >> R version 2.14.1 > Example now included! (Thanks Nick, for pointing that out...) > > #+begin_src R :session :exports code :results silent > > x <- runif(n = 100, min = 0, max = 20) > y <- 4*x^2 + 0.3*x + 3 + rnorm(100, sd = 200) > > #+end_src
I can't reproduce it either with latest (more or less) or with 7.8.03. The html export succeeds and the code is exported, pdf export (with minted) succeeds except that the code block is not processed, because there is no minted lexer for R (at least in my setup). But I get no error. Nick