Thank-you! I now have a little plot in my PDF!
John
On 5/11/11, Nick Dokos wrote:
> John Tait wrote:
>
>> Hi
>>
>> Do I need to do extra configuration to get R plot output in LaTeX exports?
>>
>> Using the simplest code block:
>>
>> #+SRCNAME: graph
>> #+BEGIN_SRC R :exports both
>> x=c(1,2)
>
John Tait wrote:
> Hi
>
> Do I need to do extra configuration to get R plot output in LaTeX exports?
>
> Using the simplest code block:
>
> #+SRCNAME: graph
> #+BEGIN_SRC R :exports both
> x=c(1,2)
> y=c(2,4)
> plot(x,y)
> x
> #+END_SRC
>
> The numbers "1 2" appear in the LaTeX output, indic
Hi
Do I need to do extra configuration to get R plot output in LaTeX exports?
Using the simplest code block:
#+SRCNAME: graph
#+BEGIN_SRC R :exports both
x=c(1,2)
y=c(2,4)
plot(x,y)
x
#+END_SRC
The numbers "1 2" appear in the LaTeX output, indicating that R is
running. The plot doesn't appear