Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fniessen/refcard-org-babel
Org Babel reference card
https://github.com/fniessen/refcard-org-babel
Last synced: 3 months ago
JSON representation
Org Babel reference card
- Host: GitHub
- URL: https://github.com/fniessen/refcard-org-babel
- Owner: fniessen
- License: gpl-3.0
- Created: 2013-10-16T12:01:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T13:01:38.000Z (7 months ago)
- Last Synced: 2024-07-10T21:28:14.338Z (4 months ago)
- Size: 819 KB
- Stars: 104
- Watchers: 10
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
- my-awesome-github-stars - fniessen/refcard-org-babel - Org Babel reference card (Others)
README
#+TITLE: Org Babel reference card
#+AUTHOR: Fabrice Niessen
#+EMAIL: (concat "fniessen" at-sign "pirilampo.org")
#+DESCRIPTION: Org Babel reference card
#+KEYWORDS: emacs, org-mode, org-babel, eric shulte, dan davison, literate programming, reproducible research, sweave
#+LANGUAGE: en
#+OPTIONS: H:4 num:nil toc:2#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-readtheorg.setup
#+PROPERTY: header-args :eval never
#+begin_html
#+end_html* ADVERT: Elevate Your Emacs Skills in Paris, Rotterdam, Leuven or Valencia!
Unlock the power of Emacs in Valencia! Join my next *exclusive "Emacs Boost" course*
on April 11th and 12th, 2024!Are you ready to *supercharge your productivity* and become an Emacs ninja? Ready
to become an Emacs pro? Look no further!What you'll learn:
- Master Emacs from the basics to advanced tricks.
- Boost your editing efficiency and streamline your workflow.
- Customize Emacs to fit your unique needs.
- Collaborate with fellow Emacs enthusiasts.
- And much more!#+begin_quote
- When: April 11th and 12th (Thu + Fri)
- Where: Valencia, Spain
- Who should attend: Anyone interested in Emacs, from beginners to advanced
users.
#+end_quoteWhy choose my course?
- Expert instructor with 24 years of Emacs experience.
- Hands-on exercises to reinforce your learning.
- Networking opportunities with like-minded Emacs enthusiasts.
- Personalized attention.Don't miss this opportunity to take your Emacs skills to the next level! \\
Seats are limited, so reserve yours today.Visit https://emacsboost.com/ for more information, other dates and other
locations, and to *reserve your seat*./See you in Valencia!/ [[https://emacsboost.com/][#EmacsBoostValencia]]
* Introduction
Welcome to Org Babel reference card. It contains the reference documentation
that describes how to perform *code execution* within Org mode documents using Org
Babel 8.In a nutshell, Org Babel is like Sweave (for [[id:1663ff41-af51-4b07-abc8-6bfed9395b2b][reproducible research]]) but it takes
a *large number of possible languages* (C, Java, Python, Ruby, R, ...) and Org
mode can produce *HTML* as well as *PDF*.#+begin_warning
Prolonged use may cause addiction!
#+end_warning# See http://faculty.washington.edu/kenrice/sisg-adv/SweaveIntro.pdf for intro
# about Sweave.# * Example
#
# http://www.johndcook.com/blog/2012/12/20/basics-of-sweave-and-pweave/
#
# Here is a sample Org file:
#
# Invisible code that sets the value of the variable ~a~.
#
# <<>=
# a <- 3.14
# @
#
# Visible code that sets ~b~ and squares it.
#
# <>=
# b <- 3.15
# b*b
# @
#
# Calling R inline: $\sqrt{2} = Sexpr{sqrt(2)}$
#
# Recalling the variable $a$ set above: $a = Sexpr{a}$.
#
# Here's a figure:
#
# <>=
# x <- seq(0, 6*pi, length=200)
# plot(x, sin(x))
# @* Documentation
See http://org-babel.readthedocs.org/ for full documentation.
*NOTE --* Please be aware that when viewing this content on the web, the example
org-babel blocks may not be visible due to rendering limitations. To see the
complete content, it is recommended to *use Emacs* and *open the =.org= files
directly*.