Reproducible research and knitr

Size: px
Start display at page:

Download "Reproducible research and knitr"

Transcription

1 Reproducible research and knitr Friedrich Schuster 1 February 24, Thanks to Yihui Xie, author of knitr. Friedrich Schuster () knitr February 24, / 30

2 Background, expectations Background: Senior software developer at HMS Analytical Software GmbH, Heidelberg Not working in scientific research Limited experience with Sweave New to knitr Friedrich Schuster () knitr February 24, / 30

3 Agenda Reproducible research Background and expectations Sweave and knitr Chunks, options, hooks etc. Other features Friedrich Schuster () knitr February 24, / 30

4 Reporting is important Trivial: Sharing work with others and presenting it is important. Not so trivial: Doing it right. Different requirements exist: documentation, scientific reports, presentations, web publishing, books, or all of the above. Requirements determine (for example) the export format(s): Excel, Word, PDF, PNG, HTML... Friedrich Schuster () knitr February 24, / 30

5 Reproducible research The term reproducible research refers to the idea that the ultimate product of research is the paper along with the full computational environment used to produce the results in the paper such as the code, data, etc. necessary for reproduction of the results and building upon the research. (Wikipedia) Some journals even seem to require a certain level of reproducability: Friedrich Schuster () knitr February 24, / 30

6 Reproducible research What: Why: Code, data, results etc. in one collection of files or a single package. Automate computations and report generation with a script. Present figures, tables and code in a single, coherent document. Transparency: full code, data and results. Reproducibility: do it again or let others repeat your steps. Effort: concentrate on research, not editing a report. Literate programming : related, but not exactly the same: concentrates on readable code and code documentation, not report generation. Friedrich Schuster () knitr February 24, / 30

7 Quality vs time Friedrich Schuster () knitr February 24, / 30

8 CRAN task view reproducible research Contains and is structured by: Packages supporting different types of file formats (HTML, LaTeX, Microsoft formats, Open document formats, plain text formats etc.) Packages for specific types of analysis or common tasks (e.g. buffering of R objects, syntax highlighting) A list of known packages for reproducible research. A short list of related links. Friedrich Schuster () knitr February 24, / 30

9 What you can do with knitr Create a PDF from R code directly: with stich() Run R script and create a simple document: with spin() Use a Markdown file with R as input. Create a PDF report with code, output and text. Create a PDF report from a Sweave file: Sweave2knitr(). Create a beamer presentation. Publish to the web: create HTML, upload images, create wordpress blog entries. Friedrich Schuster () knitr February 24, / 30

10 Elements of a report Common elements of a report, e.g. in the stats homework example: Formatted text (with or without embedded result values) Source code (syntax highlighted) Figures, plots, mathematical expressions Program results Program errors and warnings Friedrich Schuster () knitr February 24, / 30

11 Ideal workflow PDF Code R Results In Trans HTML Other Friedrich Schuster () knitr February 24, / 30

12 Sweave, knitr Similar to Sweave, the knitr package allows you to embed R code and figures in L A TEX documents. Friedrich Schuster () knitr February 24, / 30

13 How does it really work? R Code Results Tex+R Trans Tex+Result PDF Friedrich Schuster () knitr February 24, / 30

14 How does it work? The input document is a template. Sweave or knitr do not format the output, they handle the execution of R code and replace the source code with results. The output itself is then created by other packages and programs (e.g. package R2HTML or latex). Formatting the template is up to you. For larger PDF documents Tex document classes for articles exist (also for presentations : beamer class). Latex-Editors support formatting: for example Lyx User interfaces for R (especially Rstudio, but also eclipse and other tools) simplify the task of writing and running R scripts for reproducible research. Friedrich Schuster () knitr February 24, / 30

15 Terminology Tangling: extracting R code from the input file. ( Sweave: Stangle() ) Weaving: running R code through R an replacing the code chunks with the results. (in knitr: knitting ). ( Sweave: Sweave() ) TeX, LaTeX: an open source typsetting framework that can be used to produce complex technical documents. Code type: code chunks or inline expressions. Chunks: separate code segments of R code or other languages (Python, Awk, Ruby, Haskell, Bash, Perl, Graphviz, Tikz, SAS, CoffeeScript). Chunks are separated from the formatted text by chunk delimiters. Inline expressions: R expressions embedded in the formatted text. Hooks (knitr): Code that is executed before or after code chunks. Six output types (in knitr): output from code chunks or inline expressions: source code itself, formatted text output, messages from R, warnings from R, errors from R, plots and graphics. Friedrich Schuster () knitr February 24, / 30

16 Why knitr? Compared to Sweave... More input and output formats. knitr tries to simplify work with different input formats: determines the format from the source file. Multiple plots per code chunk are supported. Integrates different features that require extra packages in Sweave: syntax highlighting, caching of R objects, list formatting etc. knitr tries hard not to be incompatible to Sweave. In fact it is possible to use Sweave files with knitr. Friedrich Schuster () knitr February 24, / 30

17 Source file examples Sweave: file:///home/schuster/workspace/rug_2013_01_ ReprodResearch/src/Rnw/sweave-example-1.Rnw knitr: file:///home/schuster/workspace/rug_2013_01_ ReprodResearch/src/Rnw/002-minimal.Rnw Friedrich Schuster () knitr February 24, / 30

18 Installation # install.packages('knitr') Friedrich Schuster () knitr February 24, / 30

19 Calling knitr stitch(), spin() stitch("knitr-spin.r") tools::texi2dvi(paste(fn, "tex", sep = "."), pdf = TRUE) # stitch_rhtml() stitch_rmd() spin("knitr-spin.r") knitr-spin.pdf knitr-spin.html Convert Sweave file to knitr, then run knitr with PDF output: require("knitr") require("markdown") require("tools") require("rgl") Sweave2knitr("sweave-example-1.Rnw", output = "Sweave2knitr.Rnw") knit(input = "Sweave2knitr.Rnw", output = "Sweave2knitr.tex") tools::texi2dvi("sweave2knitr.tex", pdf = TRUE) sweave-example-1.pdf Friedrich Schuster () knitr February 24, / 30

20 Options Output types: six types: from code chunks and inline expressions 1 source code: chunk option echo : FALSE, TRUE 2 text output: chunk option results : markup, asis, hide 3 messages: chunk option message : FALSE, TRUE 4 warnings: chunk option warning : FALSE, TRUE 5 errors: chunk option error : FALSE, TRUE 6 plots: chunk option fig.keep : none, low, high All options can take values from R expressions: conditional evaluation is possible. Friedrich Schuster () knitr February 24, / 30

21 Code chunks: text and result options # <<knitr-installation,echo=true, results=false, message=false, # warning=false, error=false >>= # R.Version() Link Stat546-HW4-Xie.pdf Link Stat546-HW4-Xie.Rnw Friedrich Schuster () knitr February 24, / 30

22 Code chunks: example letters ## [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" ## [18] "r" "s" "t" "u" "v" "w" "x" "y" "z" par(mar = c(4, 4, 0.2, 0.2)) plot(rnorm(100)) rnorm(100) Friedrich Schuster () knitr February 24, / 30

23 Code chunks: Some plot options More than 20 grapics devices included: specified with the dev= option. E.g.: tikz, CairoPNG... knitr uses the evaluate package to record plots. It saves a snapshot when plot.new() or grid.newpage() is calld and when a complete expression is evaluated. What is discarded or retained is controlle with the option fig.keep= all. With fig.keep= high only the completed and different plots will be kept. With fig.keep= last only the very last plot kept. with the option fig.show= asis the process of plotting can be shown step by step. Even animations are possible: fig.show= animate file:///home/schuster/workspace/rug_2013_01_reprodresearch/ doc/knitr-graphics.pdf fig.align= center - alignment Plot size: e.g. fig.fig.height=4 fig.cap=na - disable figure caption, or fig.cap= hello Friedrich Schuster () knitr February 24, / 30

24 Global options options(tikzdefaultengine = xetex ) Friedrich Schuster () knitr February 24, / 30

25 Hooks Chunk hooks: Chunk hooks are functions to be called before or after a code chunk. Output hooks: Output hooks are used to customize and polish the raw output from chunks. There are 8 output hooks in all to deal with different types of output: source code, ordinary R output, warnings, messages, errors, plots, inline code, all output from a chunk, and the output of the whole document. see: Friedrich Schuster () knitr February 24, / 30

26 Plain text formats Markdown: is a lightweight markup language, allowing people to write using an easy-to-read, easy-to-write plain text format, then convert it to... other formats. restructuredtext Friedrich Schuster () knitr February 24, / 30

27 Web publishing HTML Wordpress blog post: works with the RWordPress package and allows to publish HTML fragments as new Wordpress blog posts. Knitr creates the HTML fragements with R Markdown and the markdown package. Image upload to an image host Friedrich Schuster () knitr February 24, / 30

28 Child documents and code Import code files Import sub documents Knit child documents in standalone mode Friedrich Schuster () knitr February 24, / 30

29 Other tools Pandoc Pandoc can convert documents in markdown, restructuredtext, textile, HTML, DocBook, LaTeX, or MediaWiki markup to HTML formats: XHTML, HTML5, and HTML slide shows using Slidy, Slideous, S5, or DZSlides. Word processor formats: Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML Ebooks: EPUB version 2 or 3, FictionBook2 Documentation formats: DocBook, GNU TexInfo, Groff man pages TeX formats: LaTeX, ConTeXt, LaTeX Beamer slides PDF via LaTeX Lightweight markup formats: Markdown, restructuredtext, AsciiDoc, MediaWiki markup, Emacs Org-Mode, Textile Friedrich Schuster () knitr February 24, / 30

30 Thank you Homepage: Examples: Github repository (more examples): Thank you! Friedrich Schuster () knitr February 24, / 30

Dynamic Documents. Using knitr. Benjamin Hofner

Dynamic Documents. Using knitr. Benjamin Hofner Dynamic Documents Using knitr Benjamin Hofner benjamin.hofnerfau.de Institut für Medizininformatik, Biometrie und Epidemiologie (IMBE) Friedrich-Alexander-Universität Erlangen-Nürnberg Biometrisches Kolloquium

More information

BIOST 561: R Markdown Intro

BIOST 561: R Markdown Intro BIOST 561: R Markdown Intro David Whitney November 3, 2016 R Markdown: The Basics The following information is readily available if you use Rstudio: Markdown is a simple formatting syntax for authoring

More information

Organizing research projects with an efficient open-source tool (emacs org-mode)

Organizing research projects with an efficient open-source tool (emacs org-mode) Organizing research projects with an efficient open-source tool (emacs org-mode) Feiming Chen October 23, 2018 Outline 1 Introduction 2 Emacs and Org-mode 3 How to Install? 4 A Few More Things Topic 1

More information

Moving ROOT Documentation from Docbook to Markdown

Moving ROOT Documentation from Docbook to Markdown Moving ROOT Documentation from Docbook to Markdown Fons Rademakers CERN PH/SFT Weekly SFT meeting, 13/4/2013. What is Markdown? Markdown allows you to write an easy-to-read, easy-to-write plain text format,

More information

Dynamic Documents With R And Knitr (Chapman & Hall/CRC The R Series) By Yihui Xie READ ONLINE

Dynamic Documents With R And Knitr (Chapman & Hall/CRC The R Series) By Yihui Xie READ ONLINE Dynamic Documents With R And Knitr (Chapman & Hall/CRC The R Series) By Yihui Xie READ ONLINE If searched for the ebook by Yihui Xie Dynamic Documents with R and knitr (Chapman & Hall/CRC The R Series)

More information

Scripts define HOW. The report defines WHAT & WHY. Mikhail Dozmorov. Fall Mikhail Dozmorov Scripts define HOW Fall / 27

Scripts define HOW. The report defines WHAT & WHY. Mikhail Dozmorov. Fall Mikhail Dozmorov Scripts define HOW Fall / 27 Scripts define HOW The report defines WHAT & WHY Mikhail Dozmorov Fall 2016 Mikhail Dozmorov Scripts define HOW Fall 2016 1 / 27 Literate programming Let us change our traditional attitude to the construction

More information

Tutorial: Methods for Reproducible Research

Tutorial: Methods for Reproducible Research Tutorial: Methods for Reproducible Research Roger D. Peng Department Biostatistics Johns Hopkins Bloomberg School of Public Health ENAR 2009 Replication The ultimate standard for strengthening scientific

More information

Convert Manuals To Html Formatted Text Javascript

Convert Manuals To Html Formatted Text Javascript Convert Manuals To Html Formatted Text Javascript pdf2htmlex - Convert PDF to HTML without losing text or format. Flexible output: all-in-one HTML or on demand page loading (needs JavaScript). Moderate.

More information

Reproducible Research with R and RStudio

Reproducible Research with R and RStudio The R Series Reproducible Research with R and RStudio Christopher Gandrud C\ CRC Press cj* Taylor & Francis Croup Boca Raton London New York CRC Press is an imprint of the Taylor & Francis Group an informa

More information

8.3 Come analizzare i dati: introduzione a RStudio

8.3 Come analizzare i dati: introduzione a RStudio 8.3 Come analizzare i dati: introduzione a RStudio Insegnamento di Informatica Elisabetta Ronchieri Corso di Laurea di Economia, Universitá di Ferrara I semestre, anno 2014-2015 Elisabetta Ronchieri (Universitá)

More information

The nuts and bolts of Sweave/Knitr for reproducible research

The nuts and bolts of Sweave/Knitr for reproducible research The nuts and bolts of Sweave/Knitr for reproducible research Marcus W. Beck ORISE Post-doc Fellow USEPA NHEERL Gulf Ecology Division, Gulf Breeze, FL Email: beck.marcusepa.gov, Phone: 850 934 2480 January

More information

Reproducible Research.. Why we love R & Bioconductor

Reproducible Research.. Why we love R & Bioconductor Reproducible Research.. Why we love R & Bioconductor Aedín Culhane aedin@jimmy.harvard.edu Boston Bioconductor Course, Oct 24/25 th http://bosbioc.wordpress.com/ My R Course Website http://bcb.dfci.harvard.edu/~aedin/

More information

Latex Manually Set Font Size For Tables

Latex Manually Set Font Size For Tables Latex Manually Set Font Size For Tables I would like to set my table to font 10pt. Here is my coding /begin(table)(h) /resizebox(/textwidth)(!)(% /begin(tabular)(/l/l/l/l/l/) /hline & A & B & C & D //

More information

Reproducibility with git and rmarkdown

Reproducibility with git and rmarkdown Reproducibility with git and rmarkdown Thomas J. Leeper Department of Government London School of Economics and Political Science 5 April 2018 1 / 65 Background Git Intermediate Git Branches & Remotes

More information

blogr: R for blogs Shane M. Conway December 13, 2009

blogr: R for blogs Shane M. Conway December 13, 2009 blogr: R for blogs Shane M. Conway December 13, 2009 Abstract blogr is an R package to provide a standardized framework for online reproducible research through blogs. It aims to both simplify the blogging

More information

Introduction to Reproducible Research in R and R Studio.

Introduction to Reproducible Research in R and R Studio. Introduction to Reproducible Research in R and R Studio. Susan Johnston April 1, 2016 What is Reproducible Research? Reproducibility is the ability of an entire experiment or study to be reproduced, either

More information

A Tour of Sweave. Max Kuhn. March 14, Pfizer Global R&D Non Clinical Statistics Groton

A Tour of Sweave. Max Kuhn. March 14, Pfizer Global R&D Non Clinical Statistics Groton A Tour of Sweave Max Kuhn Pfizer Global R&D Non Clinical Statistics Groton March 14, 2011 Creating Data Analysis Reports For most projects where we need a written record of our work, creating the report

More information

Adding a corporate identity to reproducible research

Adding a corporate identity to reproducible research Adding a corporate identity to reproducible research R Belgium, Zavemtem March 7 2017 Thierry Onkelinx Research Institute for Nature and Forest (INBO) Summary 1 Introduction 2 ggplot2 for graphics 3 Short

More information

NTCIR-12 MathIR Task Wikipedia Corpus (v0.2.1)

NTCIR-12 MathIR Task Wikipedia Corpus (v0.2.1) NTCIR-12 MathIR Task Wikipedia Corpus (v0.2.1) This is the revised (v 0.2.1) version of the 'Wikipedia' corpus for the NTCIR-12 Mathematical Information Retrieval (MathIR) tasks (see http://ntcir-math.nii.ac.jp/introduction/).

More information

L A TEX for psychological researchers

L A TEX for psychological researchers Kahoot! L A TEX for psychological researchers Lecture 1: Introducton Sacha Epskamp University of Amsterdam Department of Psychological Methods 27-01-2015 Contact Details Workshop website: http://sachaepskamp.com/latex-workshop

More information

LYX with Beamer and Sweave

LYX with Beamer and Sweave LYX with Beamer and Sweave Ziqian Zhou Department of Statistics University of Iowa February 21, 2012 Outline 1 Introduction to L A TEX and LYX 2 Basic LYX Walkthrough 3 Advanced Topics 4 LYX and Sweave

More information

Writing reproducible reports

Writing reproducible reports Writing reproducible reports knitr with R Markdown Karl Broman Biostatistics & Medical Informatics, UW Madison kbroman.org github.com/kbroman @kwbroman Course web: kbroman.org/tools4rr Statisticians write

More information

Css Pdf Editor Software Full Version 3.1

Css Pdf Editor Software Full Version 3.1 Css Pdf Editor Software Full Version 3.1 Wondershare PDF Editor allows modifications to text, graphics, watermarks, digital signatures, and This is really amazing fully functional pdf file editor software.

More information

Seven Years of Reproducible Research: From R / Sweave to Org

Seven Years of Reproducible Research: From R / Sweave to Org Seven Years of Reproducible Research: From R / Sweave to Org Christophe Pouzat Mathématiques Appliquées à Paris 5 (MAP5) Université Paris-Descartes and CNRS UMR 8145 christophe.pouzat@parisdescartes.fr

More information

CODE BLUE DOCUMENTATION EXAMPLES PRACTICAMIENTRAS

CODE BLUE DOCUMENTATION EXAMPLES PRACTICAMIENTRAS page 1 / 6 page 2 / 6 code blue documentation examples pdf Legend guide. This legend guide is an extension of the documentation available at legend() - please ensure you are familiar with contents of that

More information

Who needs Pandoc when you have Sphinx? An exploration of the parsers and builders of the Sphinx documentation tool FOSDEM

Who needs Pandoc when you have Sphinx? An exploration of the parsers and builders of the Sphinx documentation tool FOSDEM Who needs Pandoc when you have Sphinx? An exploration of the parsers and builders of the Sphinx documentation tool FOSDEM 2019 @stephenfin restructuredtext, Docutils & Sphinx 1 A little restructuredtext

More information

STAT 545A Class meeting #3 Wednesday, September 11, 2013

STAT 545A Class meeting #3 Wednesday, September 11, 2013 STAT 545A Class meeting #3 Wednesday, September 11, 2013 Dr. Jennifer (Jenny) Bryan Department of Statistics and Michael Smith Laboratories any questions from tutorial re: Basic care and feeding of data

More information

Notebooks for documenting work-flows

Notebooks for documenting work-flows C. Troupin, A. Barth C. Muñoz, S. Watelet, & J.-M. Beckers GHER-University of Liège Balearic Islands Coastal Ocean Observing and Forecasting System Notebooks for documenting work-flows Motivation Reproducibility

More information

Who should use this manual. Signing into WordPress

Who should use this manual. Signing into WordPress WordPress Manual Table of Contents Who should use this manual... 3 Signing into WordPress... 3 The WordPress Dashboard and Left-Hand Navigation Menu... 4 Pages vs. Posts... 5 Adding & Editing Your Web

More information

Building an R package

Building an R package Division of Biostatistics School of Public Health, University of Minnesota Steps Prepare your functions, example data sets Build package structure using package.skeleton() Edit DESCRIPTION file Edit NAMESPACE

More information

Reproducible Research

Reproducible Research Reproducible Research A Workflow using R / knitr / RStudio Detlef Steuer, Helmut-Schmidt-Universität Hamburg, steuer@hsu-hh.de Kolding, 29. September 2016 Plan for the day Part 1: Overview What should

More information

Literate Programming

Literate Programming Literate Programming Andreas Klein March 11, 2009 Contents 1 Introduction to Literate Programming 1 2 Pweb Desgin goals 2 3 Pweb Manual 2 3.1 Structure of a WEB-Document................... 2 3.2 Text sections.............................

More information

Programming in R. Very Short Introduction. Thomas Girke. October 1, Programming in R Slide 1/21

Programming in R. Very Short Introduction. Thomas Girke. October 1, Programming in R Slide 1/21 Programming in R Very Short Introduction Thomas Girke October 1, 21 Programming in R Slide 1/21 Programming in R LATEX Documents and References Sweave: R/Latex Hybrid Code for Reproducible Research Examples

More information

Use of knitr to Generate Reproducible Reports

Use of knitr to Generate Reproducible Reports Use of knitr to Generate Reproducible Reports John Maindonald April 24, 2013 1 Setup This document was created from the.rnw file knitdemo.rnw. To create the LaTeX (.tex) file, first ensure that knitr and

More information

odpdown - markdown to slides

odpdown - markdown to slides CIB GROUP odpdown - markdown to slides Nice slides from your favourite text editor! Thorsten.Behrens@cib.de Ideas > auto-generate slides from pure text like latex beamer, pandoc, or showof > make it blend

More information

Css Pdf Editor For Windows 7 Full Version With Key

Css Pdf Editor For Windows 7 Full Version With Key Css Pdf Editor For Windows 7 Full Version With Key Foxit Reader is a lightweight, fast, and secure PDF Reader capable of high-volume processing. Foxit Reader 7 - The Secure PDF Reader Uses a random algorithm

More information

DOWNLOAD OR READ : USER MANUAL TEMPLATE WORD 2010 PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : USER MANUAL TEMPLATE WORD 2010 PDF EBOOK EPUB MOBI DOWNLOAD OR READ : USER MANUAL TEMPLATE WORD 2010 PDF EBOOK EPUB MOBI Page 1 Page 2 user manual template word 2010 user manual template word pdf user manual template word 2010 For a French translation,

More information

Package radix. September 17, 2018

Package radix. September 17, 2018 Type Package Package radix September 17, 2018 Title 'R Markdown' Format for Scientific and Technical Writing Version 0.5 Scientific and technical article format for the web. 'Radix' articles feature attractive,

More information

Package BiocStyle. April 22, 2016

Package BiocStyle. April 22, 2016 Package BiocStyle April 22, 2016 Title Standard styles for vignettes and other Bioconductor documents Provides standard formatting styles for Bioconductor PDF and HTML documents. Package vignettes illustrate

More information

Installation and Introduction to Jupyter & RStudio

Installation and Introduction to Jupyter & RStudio Installation and Introduction to Jupyter & RStudio CSE 4/587 Data Intensive Computing Spring 2017 Prepared by Jacob Condello 1 Anaconda/Jupyter Installation 1.1 What is Anaconda? Anaconda is a freemium

More information

JSweave User Manual. Wataru Shito. Seinan Gakuin University Fukuoka Japan. Version 0.2. Documentation Revision : 1.8

JSweave User Manual. Wataru Shito. Seinan Gakuin University Fukuoka Japan. Version 0.2. Documentation Revision : 1.8 JSweave User Manual Wataru Shito Seinan Gakuin University Fukuoka Japan Version 0.2 Documentation Revision : 1.8 Project Homepage: http://www.seinan-gu.ac.jp/ shito/jsweave Maintainer: Wataru Shito (shitoseinan-gu.ac.jp)

More information

Org-mode. Nick Higham. April 22, University of Manchester Nick Higham Org-mode 1 / 7

Org-mode. Nick Higham. April 22, University of Manchester Nick Higham Org-mode 1 / 7 Org-mode Nick Higham April 22, 2013 University of Manchester Nick Higham Org-mode 1 / 7 What is Org Mode? Emacs mode for note taking task management tables and spreadsheets producing L A TEX documents

More information

DOWNLOAD OR READ : USER GUIDE TEMPLATE FREE

DOWNLOAD OR READ : USER GUIDE TEMPLATE FREE DOWNLOAD OR READ : USER GUIDE TEMPLATE FREE PDF EBOOK EPUB MOBI Page 1 Page 2 user guide template free user guide template free pdf user guide template free Xtensio's User Persona Template is a living

More information

Written & Oral Presentation: Computer Tools

Written & Oral Presentation: Computer Tools Written & Oral Presentation: Computer Tools Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 Course MATH-GA.2840-004, Spring 2018 February 7th, 2018 A. Donev (Courant Institute) Tools

More information

THE EMACS ORG-MODE. Reproducible Research and Beyond. Andreas Leha. Department for Medical Statistics University Medical Center Göttingen

THE EMACS ORG-MODE. Reproducible Research and Beyond. Andreas Leha. Department for Medical Statistics University Medical Center Göttingen THE EMACS ORG-MODE Reproducible Research and Beyond Andreas Leha Department for Medical Statistics University Medical Center Göttingen Outline Reproducible Research Existing Tools for Reproducible Research

More information

Programming in R Very Short Introduction. Why Programming in R? Outline. Thomas Girke. October 1, 2010

Programming in R Very Short Introduction. Why Programming in R? Outline. Thomas Girke. October 1, 2010 Very Short Introduction Thomas Girke October, Slide / Slide / Outline Why? Complete statistical package and programming language Efficient data structures make programming very easy Ease of implementing

More information

LECTURE 26. Documenting Python

LECTURE 26. Documenting Python LECTURE 26 Documenting Python DOCUMENTATION Being able to properly document code, especially large projects with multiple contributors, is incredibly important. Code that is poorly-documented is sooner

More information

The Org/OpenDocument Text Exporter Manual

The Org/OpenDocument Text Exporter Manual The Org/OpenDocument Text Exporter Manual Release 7.7 by Jambunathan K This manual is for Org version 7.7. Copyright c 2004-2011 Free Software Foundation, Inc. Permission is granted to copy, distribute

More information

Zerodoc Documentation

Zerodoc Documentation Zerodoc Documentation Release 0.2.0 Pablo Martin Medrano August 17, 2014 Contents 1 Zerodoc 3 1.1 1. The zerodoc format.......................................... 3 1.2 2. Installing zerodoc...........................................

More information

Reproducible research with Emacs org-mode

Reproducible research with Emacs org-mode 1 / 15 Reproducible research with Emacs org-mode Ivan Markovsky 2 / 15 Plan Problems we want to address Solution via Emacs org-mode Trying it out 3 / 15 Reporting computational results 1. setup and run

More information

Weekly Discussion Sections & Readings

Weekly Discussion Sections & Readings Weekly Discussion Sections & Readings Teaching Fellows (TA) Name Office Email Mengting Gu Bass 437 mengting.gu (at) yale.edu Paul Muir Bass437 Paul.muir (at) yale.edu Please E-mail cbb752@gersteinlab.org

More information

How To Install Latex Mac Os X Lion On Pc Step By Step

How To Install Latex Mac Os X Lion On Pc Step By Step How To Install Latex Mac Os X Lion On Pc Step By Step This distribution requires Mac OS 10.5 Leopard or higher and runs on Intel or PowerPC processors: To download, click If you do not have root access,

More information

Package BiocStyle. December 9, 2018

Package BiocStyle. December 9, 2018 Package BiocStyle December 9, 2018 Title Standard styles for vignettes and other Bioconductor documents Provides standard formatting styles for Bioconductor PDF and HTML documents. Package vignettes illustrate

More information

Recipes for presentations with beamer latex using emacs org-mode

Recipes for presentations with beamer latex using emacs org-mode Recipes for presentations with beamer latex using emacs org-mode Arne Babenhauserheide August 8, 2012 Outline Introduction Recipes Basic Configuration Thanks and license Usage (configure your emacs, see

More information

Generating Reports and Web Apps

Generating Reports and Web Apps Generating Reports and Web Apps http://datascience.tntlab.org Module 10 Today s Agenda Installing software to use Markdown on your own machine Walkthrough of Markdown and markup languages more generally

More information

Package BiocStyle. January 26, 2018

Package BiocStyle. January 26, 2018 Package BiocStyle January 26, 2018 Title Standard styles for vignettes and other Bioconductor documents Provides standard formatting styles for Bioconductor PDF and HTML documents. Package vignettes illustrate

More information

DSCI 325: Handout 28 Introduction to R Markdown Spring 2017

DSCI 325: Handout 28 Introduction to R Markdown Spring 2017 DSCI 325: Handout 28 Introduction to R Markdown Spring 2017 R Markdown provides a mechanism to create dynamic documents with embedded chunks of R code. This allows you to keep your R code, your outputs

More information

Package SASmarkdown. R topics documented: November 30, Version Date Title 'SAS' Markdown

Package SASmarkdown. R topics documented: November 30, Version Date Title 'SAS' Markdown Version 0.4.3 Date 2017-11-30 Title 'SAS' Markdown Package SASmarkdown November 30, 2017 Settings and functions to extend the 'knitr' 'SAS' engine. Imports knitr SystemRequirements SAS Maintainer

More information

Software for your own computer: R, RStudio, LaTeX, PsychoPy

Software for your own computer: R, RStudio, LaTeX, PsychoPy Software for your own computer: R, RStudio, LaTeX, PsychoPy You do not need your own computer for this class. There are, however, four software packages that you might want to install on your own computer,

More information

Latex Tutorial. CIS400 Senior Design 9/5/2013

Latex Tutorial. CIS400 Senior Design 9/5/2013 1 Latex Tutorial CIS400 Senior Design 9/5/2013 2 Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows Compiling PDF documents from LaTeX Basic document

More information

Software for your own computer: R, RStudio, LaTeX, PsychoPy

Software for your own computer: R, RStudio, LaTeX, PsychoPy Software for your own computer: R, RStudio, LaTeX, PsychoPy You do not need your own computer for this class. There are, however, four software packages that you might want to install on your own computer,

More information

WPI Project Center WordPress Manual For Editors

WPI Project Center WordPress Manual For Editors WPI Project Center WordPress Manual For Editors April 17, 2015 Table of Contents Who should use this manual... 3 Signing into WordPress... 3 The WordPress Dashboard and Left-Hand Navigation Menu... 4 Adding

More information

Dynamic Document Generation in Stata

Dynamic Document Generation in Stata Dynamic Document Generation in Stata Bill Rising StataCorp LLC 2017 Brazilian Stata Users Group meeting São Paulo, SP 8 December 2017 Dynamic Documents Handout page: 1 Goals for Creating Documents Dynamic

More information

DOWNLOAD OR READ : MANUAL HYPHENATION MEANING PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : MANUAL HYPHENATION MEANING PDF EBOOK EPUB MOBI DOWNLOAD OR READ : MANUAL HYPHENATION MEANING PDF EBOOK EPUB MOBI Page 1 Page 2 manual hyphenation meaning manual hyphenation meaning pdf manual hyphenation meaning This guideline is a part of the English

More information

SYNTAX AND SPELL OUT IN SLAVIC

SYNTAX AND SPELL OUT IN SLAVIC page 1 / 5 page 2 / 5 syntax and spell out pdf In linguistics, syntax (/? s? n t æ k s /) is the set of rules, principles, and processes that govern the structure of sentences (sentence structure) in a

More information

Package R.rsp. January 11, 2018

Package R.rsp. January 11, 2018 Version 0.42.0 Depends R (>= 2.14.0) Package R.rsp January 11, 2018 Imports methods, stats, tools, utils, R.methodsS3 (>= 1.7.1), R.oo (>= 1.21.0), R.utils, R.cache (>= 0.13.0), digest (>= 0.6.13) Suggests

More information

Using Org-mode and Subversion for Managing and Publishing Content in Computer Science courses

Using Org-mode and Subversion for Managing and Publishing Content in Computer Science courses Using Org-mode and Subversion for Managing and Publishing Content in Computer Science courses by Sankalp Khare, Ishan Misra, Venkatesh Choppella in T4E 2012 : IEEE International Conference on Technology

More information

Note taking with Pandoc

Note taking with Pandoc Organize your notes with your favorite editor and markup-language Jens Getreu Table of Contents 1. How students take notes... 1.1. The lesson starts... 1.2. Taking notes about a file... 2. Quickstart...

More information

Integrate Collaboration into your Workflow

Integrate Collaboration into your Workflow Integrate Collaboration into your Workflow George Bina george@oxygenxml.com @georgebina Existing workflow... Checkout Modify Content Commit... Integrating collaboration workflow... Checkout Modify Content

More information

Software for your own computer: R, RStudio, LaTeX, PsychoPy

Software for your own computer: R, RStudio, LaTeX, PsychoPy Software for your own computer: R, RStudio, LaTeX, PsychoPy There are four software packages that you might want to install on your own computer. They will allow you to work on the various class exercises

More information

How to use WordPress to create a website STEP-BY-STEP INSTRUCTIONS

How to use WordPress to create a website STEP-BY-STEP INSTRUCTIONS How to use WordPress to create a website STEP-BY-STEP INSTRUCTIONS STEP 1:Preparing your WordPress site Go to the Dashboard for your new site Select Appearance > Themes. Make sure you have Activated the

More information

Package knitrbootstrap

Package knitrbootstrap Version 1.0.1 Package knitrbootstrap July 19, 2017 Maintainer Jim Hester Author Jim Hester Title 'knitr' Bootstrap Framework A framework to create Bootstrap

More information

Brandon Rhodes Python Atlanta, July 2009

Brandon Rhodes Python Atlanta, July 2009 The Sphinx Documentation System Brandon Rhodes Python Atlanta, July 2009 Three application models 1. Monolithic Big App Plain text PDF output HTML Special Format 1. Monolithic Big App Plain text PDF output

More information

This is the LYX Beamer Template

This is the LYX Beamer Template This is the LYX Beamer Template With Trivial Edits by Paul Johnson F. Author 1 S. Another 2 1 Department of Computer Science University of Somewhere 2 Department of Theoretical Philosophy University of

More information

SML 201 Week 2 John D. Storey Spring 2016

SML 201 Week 2 John D. Storey Spring 2016 SML 201 Week 2 John D. Storey Spring 2016 Contents Getting Started in R 3 Summary from Week 1.......................... 3 Missing Values.............................. 3 NULL....................................

More information

Back to the Terminal. Pre-history. Text editors. Figure 1: monolith. Bill Kendrick. Linux Users Group of Davis, April 17, 2017

Back to the Terminal. Pre-history. Text editors. Figure 1: monolith. Bill Kendrick. Linux Users Group of Davis, April 17, 2017 Back to the Terminal Figure 1: monolith Bill Kendrick Linux Users Group of Davis, April 17, 2017 Pre-history Before computers, there were teletypewriters (teletypes). In the 1920s, Telex, a global teletype

More information

Package patchsynctex

Package patchsynctex Type Package Package patchsynctex December 13, 2016 Title Communication Between Editor and Viewer for Literate Programs Version 0.1-4 Date 2016-12-12 Depends tools, stringr Enhances knitr, utils Description

More information

BLAHTEXML and multi-target document generation *

BLAHTEXML and multi-target document generation * * Gilles Van Assche November, Abstract BLAHTEX and BLAHTEXML are open-source tools for converting mathematical expressions written in the TEX syntax into MathML. This article focuses on a particular use

More information

Submission Guide.

Submission Guide. Submission Guide www.jstatsoft.org Abstract The Journal of Statistical Software (JSS) is an open-source and open-access scientific journal by the statistical software community for everybody interested

More information

Logging in to the management system.

Logging in to the management system. Welcome to your new site! The Wordpress publishing platform is a robust tool that helps you publish your content to the web without getting too involved with the code. This guide is designed to help you

More information

Sweave User Manual. Friedrich Leisch and R-core October 16, 2017

Sweave User Manual. Friedrich Leisch and R-core October 16, 2017 Sweave User Manual Friedrich Leisch and R-core October 16, 2017 1 Introduction Sweave provides a flexible framework for mixing text and R code for automatic document generation. A single source file contains

More information

GuideAutomator: Automated User Manual Generation with Markdown

GuideAutomator: Automated User Manual Generation with Markdown GuideAutomator: Automated User Manual Generation with Markdown Allan dos Santos Oliveira 1, Rodrigo Souza 1 1 Department of Computer Science Federal University of Bahia (UFBA) Salvador BA Brazil allanoliver@dcc.ufba.br,

More information

7/2/2013 R packaging with Rstudio Topics:

7/2/2013 R packaging with Rstudio Topics: 7/2/2013 R packaging with Rstudio Topics: How to make an R package using RStudio Sharing packages using github or url Tip for speeding up code Using Sweave and RStudio to do 'reproducible research/programming'.

More information

Other useful tools. Eugeniy E. Mikhailov. Lecture 11. The College of William & Mary. Eugeniy Mikhailov (W&M) Practical Computing Lecture 11 1 / 9

Other useful tools. Eugeniy E. Mikhailov. Lecture 11. The College of William & Mary. Eugeniy Mikhailov (W&M) Practical Computing Lecture 11 1 / 9 Other useful tools Eugeniy E. Mikhailov The College of William & Mary Lecture 11 Eugeniy Mikhailov (W&M) Practical Computing Lecture 11 1 / 9 Specialization is... A human being should be able to change

More information

Detects Potential Problems. Customizable Data Columns. Support for International Characters

Detects Potential Problems. Customizable Data Columns. Support for International Characters Home Buy Download Support Company Blog Features Home Features HttpWatch Home Overview Features Compare Editions New in Version 9.x Awards and Reviews Download Pricing Our Customers Who is using it? What

More information

Plugins Index. Table of contents. 1 Plugins Index Released Plugins Whiteboard Plugins...8

Plugins Index. Table of contents. 1 Plugins Index Released Plugins Whiteboard Plugins...8 Table of contents 1...2 1.1 Released Plugins... 2 1.2 Whiteboard Plugins...8 1 Plugins are a way of extending Forrest to satisfy site-specific needs. If a site requires one or more plugins then the site

More information

Package ggextra. April 4, 2018

Package ggextra. April 4, 2018 Package ggextra April 4, 2018 Title Add Marginal Histograms to 'ggplot2', and More 'ggplot2' Enhancements Version 0.8 Collection of functions and layers to enhance 'ggplot2'. The flagship function is 'ggmarginal()',

More information

USER GUIDE TEMPLATE MICROSOFT WORD

USER GUIDE TEMPLATE MICROSOFT WORD page 1 / 6 page 2 / 6 user guide template microsoft pdf Application Note AN_124 User Guide for FTDI FT_PROG Utility Version 1.6 Document Reference No.: FT_000172 Clearance No.: FTDI# 106 11 Product Page

More information

Latex Tutorial Font Size Table Of Content In. Html >>>CLICK HERE<<<

Latex Tutorial Font Size Table Of Content In. Html >>>CLICK HERE<<< Latex Tutorial Font Size Table Of Content In Html HTML with smart quotes, table of contents, CSS, and custom footer: fontsize=12pt --variable version=1.14 README --latex-engine=xelatex --toc -o example14.

More information

DOWNLOAD OR READ : USER GUIDE TEMPLATES FREE PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : USER GUIDE TEMPLATES FREE PDF EBOOK EPUB MOBI DOWNLOAD OR READ : USER GUIDE TEMPLATES FREE PDF EBOOK EPUB MOBI Page 1 Page 2 user guide templates free user guide templates free pdf user guide templates free Synopsis. pandoc [options] [input-file]â.

More information

IQReport Documentation

IQReport Documentation IQReport Documentation Version 1.14 April 17, 2019 1 Contents 1 Background IQReport... 3 1.1 Why not Rmarkdown?... 3 2 Installation and requirements... 4 2.1 Required third party software... 4 2.2 System

More information

Convert Manuals To Html In Wordpress Theme Tutorial Pdf

Convert Manuals To Html In Wordpress Theme Tutorial Pdf Convert Manuals To Html In Wordpress Theme Tutorial Pdf This manual will tell you how to use this theme step by step. purchasing,refer to FAQ: mageewp.com/faq/about-purchasing-mageewp-themes.html. A look

More information

L A T E X crash course

L A T E X crash course L A T E X crash (for PhDs) 1 1 Research group on Computational Geo-Ecology Instituut voor Biodiversiteit en Ecosysteem Dynamica Universiteit van Amsterdam June 26, 2010 Outline 1 2 What is L A T E X? 3

More information

Generating reports. Steffen Durinck

Generating reports. Steffen Durinck Generating reports Steffen Durinck Traditional way of writing Analyze the data reports Copy results of the analysis in a report Copy results from report into paper to submit Workflow Report Easy to update

More information

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program What is LaTeX LaTeX ( /ˈleɪtɛk/, /ˈleɪtɛx/, /ˈlɑːtɛx/, or /ˈlɑːtɛk/) Is a document markup language and document preparation system for the TeX typesetting program Refers only to the language, not to the

More information

DocBook vs DITA. Radu

DocBook vs DITA. Radu vs Radu Coravu radu_coravu@oxygenxml.com @radu_coravu I m a Hub: About the Author End users Feedback (questions, problems, improvement requests) Open Source Projects Help, workarounds Technical Support

More information

Introducing live graphics gems to educational material

Introducing live graphics gems to educational material Introducing live graphics gems to educational material Johannes Görke, Frank Hanisch, Wolfgang Straíer WSI/GRIS University of Tübingen, Sand 14, 72076 Tübingen, Germany Thiruvarangan Ramaraj CS525 Graphics

More information

Package htmlwidgets. February 25, 2016

Package htmlwidgets. February 25, 2016 Package htmlwidgets February 25, 2016 Type Package Title HTML Widgets for R Version 0.6 Date 2016-02-25 A framework for creating HTML widgets that render in various contexts including the R console, 'R

More information

polyglot Documentation Release Dave Young

polyglot Documentation Release Dave Young polyglot Documentation Release 1.0.0 Dave Young 2017 Getting Started 1 Installation 3 1.1 Development............................................... 3 1.1.1 Sublime Snippets........................................

More information

Package markdown. February 15, 2013

Package markdown. February 15, 2013 Type Package Title Markdown rendering for R Version 0.5.4 Date 2013-01-24 Package markdown February 15, 2013 Author JJ Allaire, Jeffrey Horner, Vicent Marti, and Natacha Porte Maintainer Jeffrey Horner

More information