Skip to content
/ rsicons Public

rsicons allows you to embed various icons from the RStudio IDE in other projects (e.g. RMarkdown documents, Shiny apps, etc.)

License

Unknown, MIT licenses found

Licenses found

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

rundel/rsicons

Repository files navigation

rsicons

Lifecycle: experimental R-CMD-check

The goal of rsicons is to make the various icons used within the RStudio IDE available as images that can be embedded in other projects (e.g. RMarkdown documents, Shiny apps, etc.)

Installation

The development version can be installed from GitHub with:

# install.packages("devtools")
devtools::install_github("rundel/rsicons")

Example

The core function of the package is icon() which lets you insert a named icon in a chunk.

library(rsicons)
icon("rstudio", height = 24)

icon("rstudio", height = 64)

You can also use icon() via inline code , or anywhere else you can embed an image.

Details about each icon can be obtained via the icon_info() function,

icon_info("rstudio")
#> $type
#> [1] "File"
#> 
#> $sizes
#> [1] "16x16"   "24x24"   "32x32"   "48x48"   "64x64"   "128x128" "256x256"
#> [8] "512x512"
#> 
#> $formats
#> [1] "PNG"

See the Get Started vignette for more information.

See all available icons

About

rsicons allows you to embed various icons from the RStudio IDE in other projects (e.g. RMarkdown documents, Shiny apps, etc.)

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published