uncoast-unconf / uu-2019

Materials for the 2019 uncoast unconference
11 stars 4 forks source link

Gallery of gt examples #11

Open kbroman opened 5 years ago

kbroman commented 5 years ago

gt is a new package for creating publication-quality tables from R.

At the Chicago R Unconference, @frm1789 and I started a gallery of gt examples. The title says 25 examples; we got 8.

The project was created using workflowr, but I think you should feel free to reorganize it, to whatever form is convenient.

dshadravan commented 5 years ago

@kbroman I was going to add a new table or two here at the Uncoast conference, but I'm struggling to install the gt package on my Mac. Did you run into any issues?

kbroman commented 5 years ago

I didn't run into any problems, but it does require compiler tools. What errors are you getting?

dshadravan commented 5 years ago

"Package ‘gt’ is not available (for R version 3.5.1)"

kbroman commented 5 years ago

It's not yet on CRAN; you need to install it from github using the devtools package:

install.packages("devtools")
devtools::install_github("rstudio/gt")
dshadravan commented 5 years ago

Ahhhh, I didn't realize the package was so new. Thank you!