knitr::opts_chunk$set(eval = FALSE)

REPLesentR: Presentations inside the R REPL

author: Sebastian Warnholz
date: r Sys.Date()
email: wahani@gmail.com

Features

//empty

Commands in Presentation Mode

Evaluation of code

Try this now by typing 'e'

//code

hi <- "Hi\n"
cat(hi)

Slide formats

Slide formats examples

//center type 'e' to see the source of this slide

//empty

//code

.fileName <- system.file("Introduction.Rmd", package = "REPLesentR")
.allSlide <- readLines(.fileName)
.thisSlidePosition <- grep("^# slide formats examples", .allSlide, TRUE)
.thisSlide <- .allSlide[.thisSlidePosition:(.thisSlidePosition + 14)]
for (row in .thisSlide) cat(row, "\n")

//center Make great plots with 'txtplot'!

set.seed(2)
x <- rnorm(20)
y <- 1 + x * 5 + rnorm(20)
txtplot::txtplot(x, y)

Start from an example

You can find the source of this presentation by typing 'e':

//code

print(system.file("Introduction.Rmd", package = "REPLesentR"))

//center Inspiration for this package comes from:

//center https://github.com/marconilanna/REPLesent

//center THE END!



Try the REPLesentR package in your browser

Any scripts or data that you put into this service are public.

REPLesentR documentation built on Dec. 1, 2019, 1:19 a.m.