Skip to content

A package for simulating the typing effect of R scripts, ideal for live coding presentations, teaching, or creating interactive demonstrations.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Fgazzelloni/typeR

Repository files navigation

typeR

R-CMD-check

typeR is an R package that simulates typing effects on R script files, making it ideal for live coding presentations, interactive teaching, or creating animations.

Installation

To install the development version of typeR from GitHub, use:

# Install devtools if you don't already have it
install.packages("devtools")

# Install typeR from GitHub
devtools::install_github("Fgazzelloni/typeR")

Usage

Here’s an example of how to use the typeR package:

library(typeR)

# Create a test script for demonstration
writeLines(c(
  "# Testing typeR",
  "x <- 1:10",
  "y <- x*2",
  "plot(x, y)"
), "test_script.R")

# Simulate typing the script
typeR("test_script.R", delay = 0.05)

Features

  • Simulates the typing of R script files line by line.
  • Adjustable typing speed using the delay parameter.
  • Creates engaging live coding demonstrations.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This package is licensed under the MIT License. See the LICENSE file for details.

About

A package for simulating the typing effect of R scripts, ideal for live coding presentations, teaching, or creating interactive demonstrations.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages