Skip to content

etam4260/crayons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crayons eraser

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Lifecycle: maturing cran version cran checks rstudio mirror downloads

Get your favorite crayons ready for all your experimental coloring needs in RStudio and R.

Please follow the installation steps carefully and take a gander at the instruction manual below for proper handling.

Installation

You can install the development version from GitHub with:

install.packages("devtools")
 
# Location of the crayon boxes... 
devtools::install_github("etam4260/crayons")

The coloring tool(crayons) are different on Mac OS versus Windows and therefore the features are different.

Instruction Manual

This is how to ask for a crayon box and open it…

# Asking the teacher for crayons...
library(crayons)

# Opening the crayon box
crayons()

This will open up a viewer pane in your RStudio session as an interactive color creation tool.

Swap crayons by clicking on each box for access to the cart of options.

  1. Press the add buttons or drag and drop colors to interactive text canvas.

  2. Click on the colors themselves to swap to different colored crayons.

  3. Switch from HEX, COLOR, and RGB tabs to see how they are represented in R code.

  4. Press the eraser button to erase the last entry

  5. Drag and drop the eraser onto the text canvas to erase everything.

What is currently shown on the text canvas is also available in your computer’s paste command

Demo

Moar Crayons

The current crayon box only comes with 8. Moar crayons will be available in future updates!

Upcoming features:

  • Ability to ask for more crayons and crayon boxes.

  • Draggable crayons to different areas of your viewer desk for organization.

  • Paintbrush cursor

  • Erasing animation

  • A new function for interactive plotting directly in the viewer tab. (Move plots in and out that are currently located in the Plots tab).

  • Ability to specify to allow access to the computer copy command.

  • Ability to save color palletes to user’s RProfile so it can be saved and loaded in from other R sessions.

  • A color loading bar to have a visual cue of what colors are currently loaded into the clipboard.

  • Proper scaling of the Viewer UI to support certain screen sizes as well as the appropriate sizing of the Zoom.

Disclaimers