Commit fedde073 authored by Tommy Rushton's avatar Tommy Rushton

Fix source evaluation (for Org 9.6).

parent 5e79e620
#+TITLE: Your title
#+AUTHOR: Your name
#+AUTHOR: Thomas Rushton
#+DATE: Today's date
#+LANGUAGE: en
# #+PROPERTY: header-args :eval never-export
......@@ -54,12 +54,12 @@ summary(cars)
: Max. :25.0 Max. :120.00
Finally, an example for graphical output:
#+begin_src R :results output graphics :file "./cars.png" :exports results :width 600 :height 400 :session *R*
#+begin_src R :file cars.png :results output graphics file :exports results :width 600 :height 400 :session *R*
plot(cars)
#+end_src
#+RESULTS:
[[file:./cars.png]]
[[file:cars.png]]
Note the parameter ~:exports results~, which indicates that the code
will not appear in the exported document. We recommend that in the
......
#+TITLE: Your title
#+AUTHOR: Your name
#+AUTHOR: Thomas Rushton
#+DATE: Today's date
#+LANGUAGE: en
# #+PROPERTY: header-args :eval never-export
......@@ -60,7 +60,7 @@ print(x)
#+end_example
Finally, an example for graphical output:
#+begin_src python :results output file :session :var matplot_lib_filename="./cosxsx.png" :exports results
#+begin_src python :session :results output file :var matplot_lib_filename="./cosxsx.png" :exports results
import matplotlib.pyplot as plt
plt.figure(figsize=(10,5))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment