Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ca693b8bd1eb5f2789da9233f56f5d25
mooc-rr
Commits
fedde073
Commit
fedde073
authored
Apr 09, 2024
by
Tommy Rushton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix source evaluation (for Org 9.6).
parent
5e79e620
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
exercice_R_en.org
module2/exo2/exercice_R_en.org
+3
-3
exercice_python_en.org
module2/exo2/exercice_python_en.org
+2
-2
No files found.
module2/exo2/exercice_R_en.org
View file @
fedde073
#+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
...
...
module2/exo2/exercice_python_en.org
View file @
fedde073
#+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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment