From the course: R: Interactive Visualizations with htmlwidgets

Unlock the full course today

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

Set up RStudio for htmlwidgets

Set up RStudio for htmlwidgets - R Tutorial

From the course: R: Interactive Visualizations with htmlwidgets

Start my 1-month free trial

Set up RStudio for htmlwidgets

- [Instructor] In order to use htmlwidgets on your machine, you need to have both R and RStudio installed. There's some additional setup I think we should do to make our lives as easy as possible to create interactive visualizations using RStudio and htmlwidgets. On the left-hand side of the screen, we have our console. Our console is where we can type instructions for R. For instance, we can type 25 to the power two, and hit enter, and we get echoed back the result, which is 625. The right-hand side of my screen is split into two panes. I have my environment, which is where my availables will live, and underneath it, I have my file explorer, which allows me to easily explore my file directories. Anyone worth their salt has an opinion on the best layout for an IDE, but I think we can agree to two customizations of RStudio. Let's make the font a little easier to read, particularly if you're on a mobile device, and let's rearrange the panes to a slightly more comfortable layout for…

Contents