From the course: R: Interactive Visualizations with htmlwidgets

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install htmlwidget libraries

Install htmlwidget libraries - R Tutorial

From the course: R: Interactive Visualizations with htmlwidgets

Start my 1-month free trial

Install htmlwidget libraries

- [Narrator] Installing htmlwidget libraries is generally as simple as installing any package. Most htmlwidgets are available through CRAN. Which means they can easily be installed with the install dot packages function. You simply provide the name of your package as a string to the function install dot packages. You're fully advised not to use the install dot packages function inside of a script file. Instead, use the function in the console. This is because you don't want to accidentally install a new version of the library as you may suffer from unexpected incompatibility issues. Sometimes, you'll be interested in using an htmlwidget library which isn't available through CRAN. This is typically for one of two reasons. Firstly, the developers of the library may not have submitted their package to CRAN. Some developers choose never to deploy their package to CRAN because they don't want responsibility of being a CRAN package maintainer or a developer may not have got round to…

Contents