![]() This may not be terribly useful right now since you can use the more powerful colourInput in Shiny apps and Rmarkdown documents, but it may come in handy if you need a widget. The colour picker input is also available as an ‘htmlwidgets’ widget using the colourWidget() function. You can also watch a short GIF of it an action. Here is a screenshot of the colour picker addin (you can either access this tool using the Addins menu or with colourPicker()). This can be useful if, for example, you want to pick some colours for a plot and you want an easy way to visualize and select a few colours. To select colours to use in your R code: colourPicker()Ĭolourpicker also provides an RStudio addin that can be used to easily select colours and save them as a variable in R. Plot(rnorm(50), bg = input$col, col = input$col, pch = 21)
0 Comments
Leave a Reply. |