inst/Introduction.md

REPLesentR: Presentations inside the R REPL

author: Sebastian Warnholz date: 2019-11-25 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'!

    +-----+-----------+----------+-----------+-----------+-+
    |                                               *   *  |
 10 +                                                 *    +
    |                                        *             |
  5 +                                     *  *             +
    |                                 *     *              |
    |                           *  *                       |
  0 +                  *     * *  **                       +
    |               *                                      |
 -5 +                *                                     +
    |                                                      |
    |                                                      |
-10 + *                                                    +
    +-----+-----------+----------+-----------+-----------+-+
         -2          -1          0           1           2  

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.