emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] [bug] bug in R-specific header argument for graphics dri


From: Eric Schulte
Subject: Re: [O] [babel] [bug] bug in R-specific header argument for graphics driver
Date: Mon, 19 Mar 2012 10:48:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Rainer M Krug <address@hidden> writes:

> On 19/03/12 15:17, Eric Schulte wrote:
>> Hi Rainer,
>> 
>> I see you CC'd me on this email.  I personally do not know anything about 
>> how the graphics
>> header argument to R code blocks works.
>
> Sorry - I thought it was part of babel, and when I hear "babel", I think 
> "eric knows it"...
>

It is part of Babel, but Dan Davison is the author of much of the R
code, and in general there are increasingly language-specific authors
who know more about support particular to a specific language than do I.

>
>
>> I would recommend looking deeper into the behavior using the following tools
>> 
>> - Look at the expanded code block body using org-babel-expand-src-block - 
>> Run the code block in
>> a session, and then look into the session buffer to see what R code is being 
>> generated by
>> Babel, then try to debug the R as you would normally - look into the 
>> temporary R scripts
>> generated during execution, which will live in a directory with a name like 
>> /tmp/babel-XXXXXX
>
> Good idea - I'll look into it and give you feedback.
>

Great, Thanks,

>
>> 
>> If you are able to isolate a bug in Babel then I can help fix that bug in 
>> the elisp code.
>
> Thanks - I still haven't managed to get into (e)lisp...
>
>> 
>> Thanks and sorry I can't be of more immediate,
>
> No problem,
>
> Cheers,
>
> Rainer
>
>> 
>> Rainer M Krug <address@hidden> writes:
>> 
>>> I did not get any response so far, so I hope that the email did not went 
>>> out...
>>> 
>>> Rainer
>>> 
>>> 
>> When giving the header argument :title: the graph is not produced in a file:
>> 
>> * This works Display boxplot of spread of Mff over time for each release 
>> strategy :PROPERTIES: 
>> :results: graphics :file: SpreadOverTime.pdf :width: 4 :height: 8 
>> :pointsize: 8 :END: 
>> #+begin_src R plot(runif(100)) #+end_src
>> 
>> * This doesn't Display boxplot of spread of Mff over time for each release 
>> strategy 
>> :PROPERTIES: :results: graphics :file: test.pdf :width: 4 :height: 8 
>> :pointsize: 8 :title:
>> "test" :END: #+begin_src R plot(runif(100)) #+end_src
>> 
>> Error message:
>> 
>> Error in pdf(file = "test.pdf", width = 4, height = 8, pointsize = 8,  : 
>> object 'test' not
>> found Calls: <Anonymous> -> <Anonymous> -> pdf Execution halted
>> 
>> Cheers,
>> 
>> Rainer
>> 
>> 

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]